Add more climate actions

See also https://github.com/esphome/esphome/pull/859
This commit is contained in:
Otto Winter 2019-11-23 20:36:12 +01:00
parent c73e9296ed
commit dbf4797537
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
3 changed files with 26 additions and 5 deletions

View File

@ -678,6 +678,9 @@ enum ClimateAction {
// values same as mode for readability
CLIMATE_ACTION_COOLING = 2;
CLIMATE_ACTION_HEATING = 3;
CLIMATE_ACTION_IDLE = 4;
CLIMATE_ACTION_DRYING = 5;
CLIMATE_ACTION_FAN = 6;
}
message ListEntitiesClimateResponse {
option (id) = 46;

File diff suppressed because one or more lines are too long

View File

@ -221,6 +221,9 @@ class ClimateAction(enum.IntEnum):
OFF = 0
COOLING = 2
HEATING = 3
IDLE = 4
DRYING = 5
FAN = 6
def _convert_climate_modes(value):