home-assistant/home-assistant#18645: revert heat-cool -> auto change

This commit is contained in:
phnx authored and Paulus Schoutsen committed 2018-12-10 13:00:09 +01:00
1 parent d8f6331318
commit 0454a5fa3f
4 files changed
+7 -7

No files matched your search

@@ -679,11 +679,11 @@ async def test_temperature_setting_climate_range(hass):
climate.ATTR_MAX_TEMP: 80
}), BASIC_CONFIG)
assert trt.sync_attributes() == {
'availableThermostatModes': 'off,cool,heat,auto',
'availableThermostatModes': 'off,cool,heat,heatcool',
'thermostatTemperatureUnit': 'F',
}
assert trt.query_attributes() == {
'thermostatMode': 'auto',
'thermostatMode': 'heatcool',
'thermostatTemperatureAmbient': 21.1,
'thermostatHumidityAmbient': 25,
'thermostatTemperatureSetpointLow': 18.3,
@@ -709,7 +709,7 @@ async def test_temperature_setting_climate_range(hass):
calls = async_mock_service(
hass, climate.DOMAIN, climate.SERVICE_SET_OPERATION_MODE)
await trt.execute(trait.COMMAND_THERMOSTAT_SET_MODE, {
'thermostatMode': 'auto',
'thermostatMode': 'heatcool',
})
assert len(calls) == 1
assert calls[0].data == {