Google_assistant: fix climate modes (#19084)
* home-assistant/home-assistant#18645: Fix climate mode mapping. * home-assistant/home-assistant#18645: Remove un-used constants. * home-assistant/home-assistant#18645: revert heat-cool -> auto change
This commit is contained in:
commit
802497b05c
2 changed files with 3 additions and 2 deletions
|
@ -518,6 +518,9 @@ class TemperatureSettingTrait(_Trait):
|
|||
climate.STATE_COOL: 'cool',
|
||||
climate.STATE_OFF: 'off',
|
||||
climate.STATE_AUTO: 'heatcool',
|
||||
climate.STATE_FAN_ONLY: 'fan-only',
|
||||
climate.STATE_DRY: 'dry',
|
||||
climate.STATE_ECO: 'eco'
|
||||
}
|
||||
google_to_hass = {value: key for key, value in hass_to_google.items()}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue