Add climate preset NONE again (#1951)

This commit is contained in:
Otto Winter authored and Jesse Hills committed 2021-06-24 12:49:45 +12:00
1 parent 6009c7edb4
commit 1d8c170f48
5 files changed
+36 -28

No files matched your search

+2
View File
@@ -192,6 +192,8 @@ template<> const char *proto_enum_to_string<enums::ClimateAction>(enums::Climate
}
template<> const char *proto_enum_to_string<enums::ClimatePreset>(enums::ClimatePreset value) {
switch (value) {
case enums::CLIMATE_PRESET_NONE:
return "CLIMATE_PRESET_NONE";
case enums::CLIMATE_PRESET_HOME:
return "CLIMATE_PRESET_HOME";
case enums::CLIMATE_PRESET_AWAY: