mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Make homekit_controller a local push integration (#32213)
This commit is contained in:
@@ -40,6 +40,11 @@ class Helper:
|
||||
char_name = CharacteristicsTypes.get_short(char.type)
|
||||
self.characteristics[(service_name, char_name)] = char
|
||||
|
||||
async def update_named_service(self, service, characteristics):
|
||||
"""Update a service."""
|
||||
self.pairing.testing.update_named_service(service, characteristics)
|
||||
await self.hass.async_block_till_done()
|
||||
|
||||
async def poll_and_get_state(self):
|
||||
"""Trigger a time based poll and return the current entity state."""
|
||||
await time_changed(self.hass, 60)
|
||||
|
||||
Reference in New Issue
Block a user