Add water_heater support to HomeKit (#17614)

* Homekit add support for water_heater
* Added tests
This commit is contained in:
cdce8p authored and GitHub committed 2018-10-19 21:04:05 +02:00
1 parent e343f5521c
commit ff33cbd22f
5 files changed
+281 -52

No files matched your search

@@ -173,6 +173,9 @@ def get_accessory(hass, driver, state, aid, config):
elif state.domain in ('automation', 'input_boolean', 'remote', 'script'):
a_type = 'Switch'
elif state.domain == 'water_heater':
a_type = 'WaterHeater'
if a_type is None:
return None