Support STATE_AUTO in homekit_controller climate (#23583)

This commit is contained in:
Jc2k 2019-05-02 04:44:55 +01:00 committed by Andrew Sayre
parent 75abfd49ef
commit 0fe21f2015
4 changed files with 19 additions and 3 deletions

View file

@ -37,6 +37,13 @@ async def test_ecobee3_setup(hass):
SUPPORT_OPERATION_MODE
)
assert climate_state.attributes['operation_list'] == [
'off',
'heat',
'cool',
'auto',
]
assert climate_state.attributes['min_temp'] == 7.2
assert climate_state.attributes['max_temp'] == 33.3
assert climate_state.attributes['min_humidity'] == 20