Stop homekit_controller using backend specific API's (#66375)
This commit is contained in:
parent
95e4ea8fcd
commit
65ce2108d3
4 changed files with 5 additions and 5 deletions
|
@ -378,7 +378,7 @@ class HKDevice:
|
||||||
|
|
||||||
if self.watchable_characteristics:
|
if self.watchable_characteristics:
|
||||||
await self.pairing.subscribe(self.watchable_characteristics)
|
await self.pairing.subscribe(self.watchable_characteristics)
|
||||||
if not self.pairing.connection.is_connected:
|
if not self.pairing.is_connected:
|
||||||
return
|
return
|
||||||
|
|
||||||
await self.async_update()
|
await self.async_update()
|
||||||
|
@ -506,7 +506,7 @@ class HKDevice:
|
||||||
async def async_update(self, now=None):
|
async def async_update(self, now=None):
|
||||||
"""Poll state of all entities attached to this bridge/accessory."""
|
"""Poll state of all entities attached to this bridge/accessory."""
|
||||||
if not self.pollable_characteristics:
|
if not self.pollable_characteristics:
|
||||||
self.async_set_available_state(self.pairing.connection.is_connected)
|
self.async_set_available_state(self.pairing.is_connected)
|
||||||
_LOGGER.debug(
|
_LOGGER.debug(
|
||||||
"HomeKit connection not polling any characteristics: %s", self.unique_id
|
"HomeKit connection not polling any characteristics: %s", self.unique_id
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "HomeKit Controller",
|
"name": "HomeKit Controller",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/homekit_controller",
|
"documentation": "https://www.home-assistant.io/integrations/homekit_controller",
|
||||||
"requirements": ["aiohomekit==0.7.8"],
|
"requirements": ["aiohomekit==0.7.11"],
|
||||||
"zeroconf": ["_hap._tcp.local."],
|
"zeroconf": ["_hap._tcp.local."],
|
||||||
"after_dependencies": ["zeroconf"],
|
"after_dependencies": ["zeroconf"],
|
||||||
"codeowners": ["@Jc2k", "@bdraco"],
|
"codeowners": ["@Jc2k", "@bdraco"],
|
||||||
|
|
|
@ -184,7 +184,7 @@ aioguardian==2021.11.0
|
||||||
aioharmony==0.2.9
|
aioharmony==0.2.9
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
aiohomekit==0.7.8
|
aiohomekit==0.7.11
|
||||||
|
|
||||||
# homeassistant.components.emulated_hue
|
# homeassistant.components.emulated_hue
|
||||||
# homeassistant.components.http
|
# homeassistant.components.http
|
||||||
|
|
|
@ -134,7 +134,7 @@ aioguardian==2021.11.0
|
||||||
aioharmony==0.2.9
|
aioharmony==0.2.9
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
aiohomekit==0.7.8
|
aiohomekit==0.7.11
|
||||||
|
|
||||||
# homeassistant.components.emulated_hue
|
# homeassistant.components.emulated_hue
|
||||||
# homeassistant.components.http
|
# homeassistant.components.http
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue