Add input_select and select domain support for HomeKit (#54760)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
46f05ca279
commit
433775cf4b
5 changed files with 117 additions and 1 deletions
|
@ -198,6 +198,9 @@ def get_accessory(hass, driver, state, aid, config): # noqa: C901
|
|||
elif state.domain in ("automation", "input_boolean", "remote", "scene", "script"):
|
||||
a_type = "Switch"
|
||||
|
||||
elif state.domain in ("input_select", "select"):
|
||||
a_type = "SelectSwitch"
|
||||
|
||||
elif state.domain == "water_heater":
|
||||
a_type = "WaterHeater"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue