Handle battery services that only report low battery in HomeKit Controller (#79072)
This commit is contained in:
parent
b70027aec1
commit
917cf674de
11 changed files with 485 additions and 5 deletions
|
@ -60,7 +60,7 @@ async def async_setup_entry(
|
|||
) -> None:
|
||||
"""Set up Homekit numbers."""
|
||||
hkid = config_entry.data["AccessoryPairingID"]
|
||||
conn = hass.data[KNOWN_DEVICES][hkid]
|
||||
conn: HKDevice = hass.data[KNOWN_DEVICES][hkid]
|
||||
|
||||
@callback
|
||||
def async_add_characteristic(char: Characteristic) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue