Handle on/off through TemperatrureSetting trait. (#21842)

This commit is contained in:
Penny Wood 2019-03-22 01:57:42 +08:00 committed by Paulus Schoutsen
parent fe468ace34
commit 81bb928394
4 changed files with 93 additions and 58 deletions

View file

@ -205,7 +205,6 @@ def test_query_climate_request(hass_fixture, assistant_client, auth_header):
devices = body['payload']['devices']
assert len(devices) == 3
assert devices['climate.heatpump'] == {
'on': True,
'online': True,
'thermostatTemperatureSetpoint': 20.0,
'thermostatTemperatureAmbient': 25.0,
@ -262,7 +261,6 @@ def test_query_climate_request_f(hass_fixture, assistant_client, auth_header):
devices = body['payload']['devices']
assert len(devices) == 3
assert devices['climate.heatpump'] == {
'on': True,
'online': True,
'thermostatTemperatureSetpoint': -6.7,
'thermostatTemperatureAmbient': -3.9,