Poll HomeKit Controller locks for state after lock operation (#82058)
This commit is contained in:
parent
bbda122c99
commit
1ded3ac51e
5 changed files with 39 additions and 2 deletions
|
@ -175,6 +175,10 @@ class HomeKitEntity(Entity):
|
|||
"""Define the homekit characteristics the entity cares about."""
|
||||
raise NotImplementedError
|
||||
|
||||
async def async_update(self) -> None:
|
||||
"""Update the entity."""
|
||||
await self._accessory.async_request_update()
|
||||
|
||||
|
||||
class AccessoryEntity(HomeKitEntity):
|
||||
"""A HomeKit entity that is related to an entire accessory rather than a specific service or characteristic."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue