Add support for Homekit accessory battery sensors (#26210)
* Add simple battery sensor * Add test for battery sensor based on a real device * Vary icon based on battery state * Add test for battery sensory * Read other battery related states from accessory * Add a device class to the battery sensor * Respect the low battery flag from the device
This commit is contained in:
5 files changed
+2430
-5
No files matched your search
@@ -25,4 +25,5 @@ HOMEKIT_ACCESSORY_DISPATCH = {
|
||||
"humidity": "sensor",
|
||||
"light": "sensor",
|
||||
"temperature": "sensor",
|
||||
"battery": "sensor",
|
||||
}
|
||||
Reference in new issue
Block a user