mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-12-22 16:48:04 +01:00
Add more climate actions
See also https://github.com/esphome/esphome/pull/859
This commit is contained in:
parent
c73e9296ed
commit
dbf4797537
@ -678,6 +678,9 @@ enum ClimateAction {
|
|||||||
// values same as mode for readability
|
// values same as mode for readability
|
||||||
CLIMATE_ACTION_COOLING = 2;
|
CLIMATE_ACTION_COOLING = 2;
|
||||||
CLIMATE_ACTION_HEATING = 3;
|
CLIMATE_ACTION_HEATING = 3;
|
||||||
|
CLIMATE_ACTION_IDLE = 4;
|
||||||
|
CLIMATE_ACTION_DRYING = 5;
|
||||||
|
CLIMATE_ACTION_FAN = 6;
|
||||||
}
|
}
|
||||||
message ListEntitiesClimateResponse {
|
message ListEntitiesClimateResponse {
|
||||||
option (id) = 46;
|
option (id) = 46;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -221,6 +221,9 @@ class ClimateAction(enum.IntEnum):
|
|||||||
OFF = 0
|
OFF = 0
|
||||||
COOLING = 2
|
COOLING = 2
|
||||||
HEATING = 3
|
HEATING = 3
|
||||||
|
IDLE = 4
|
||||||
|
DRYING = 5
|
||||||
|
FAN = 6
|
||||||
|
|
||||||
|
|
||||||
def _convert_climate_modes(value):
|
def _convert_climate_modes(value):
|
||||||
|
Loading…
Reference in New Issue
Block a user