Fix min/max temp and humidity for homekit_controller climate (#23421)

* Fix min/max temp and humidity for homekit_controller climate.

* Fix typo
This commit is contained in:
Jc2k authored and Martin Hjelmare committed 2019-05-01 00:08:30 +02:00
1 parent b0843f4a38
commit 1c4367e5a9
4 files changed
+59 -1

No files matched your search

@@ -138,6 +138,8 @@ async def test_climate_read_thermostat_state(hass, utcnow):
assert state.state == 'heat'
assert state.attributes['current_temperature'] == 19
assert state.attributes['current_humidity'] == 50
assert state.attributes['min_temp'] == 7
assert state.attributes['max_temp'] == 35
# Simulate that cooling is on
helper.characteristics[TEMPERATURE_CURRENT].value = 21