added idle action for climate (#859)

* added idle

* more clear state description

* Also add drying/fan

Putting it in this PR because it will be put in the same aioesphomeapi release anyway.

* Update bang_bang for idle action


Co-authored-by: root <root@mail.danman.eu>
Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
authored and Otto Winter committed 2019-11-26 17:56:04 +01:00
1 parent be36eef939
commit fe89dcdc08
6 files changed
+49 -13

No files matched your search

+6
View File
@@ -158,6 +158,12 @@ template<> const char *proto_enum_to_string<enums::ClimateAction>(enums::Climate
return "CLIMATE_ACTION_COOLING";
case enums::CLIMATE_ACTION_HEATING:
return "CLIMATE_ACTION_HEATING";
case enums::CLIMATE_ACTION_IDLE:
return "CLIMATE_ACTION_IDLE";
case enums::CLIMATE_ACTION_DRYING:
return "CLIMATE_ACTION_DRYING";
case enums::CLIMATE_ACTION_FAN:
return "CLIMATE_ACTION_FAN";
default:
return "UNKNOWN";
}