Add support for air purifiers to HomeKit Device (#109880)
This commit is contained in:
parent
aea81a180c
commit
1ea9b1a158
6 changed files with 192 additions and 5 deletions
|
@ -55,6 +55,7 @@ HOMEKIT_ACCESSORY_DISPATCH = {
|
|||
ServicesTypes.DOORBELL: "event",
|
||||
ServicesTypes.STATELESS_PROGRAMMABLE_SWITCH: "event",
|
||||
ServicesTypes.SERVICE_LABEL: "event",
|
||||
ServicesTypes.AIR_PURIFIER: "fan",
|
||||
}
|
||||
|
||||
CHARACTERISTIC_PLATFORMS = {
|
||||
|
@ -104,6 +105,8 @@ CHARACTERISTIC_PLATFORMS = {
|
|||
CharacteristicsTypes.FILTER_LIFE_LEVEL: "sensor",
|
||||
CharacteristicsTypes.VENDOR_AIRVERSA_SLEEP_MODE: "switch",
|
||||
CharacteristicsTypes.TEMPERATURE_UNITS: "select",
|
||||
CharacteristicsTypes.AIR_PURIFIER_STATE_CURRENT: "sensor",
|
||||
CharacteristicsTypes.AIR_PURIFIER_STATE_TARGET: "select",
|
||||
}
|
||||
|
||||
STARTUP_EXCEPTIONS = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue