Bump aiohomekit (#36041)
This commit is contained in:
parent
99e345d6e4
commit
6e3bba07da
4 changed files with 5 additions and 11 deletions
|
@ -89,10 +89,6 @@ class HKDevice:
|
|||
# mapped to a HA entity.
|
||||
self.entities = []
|
||||
|
||||
# There are multiple entities sharing a single connection - only
|
||||
# allow one entity to use pairing at once.
|
||||
self.pairing_lock = asyncio.Lock()
|
||||
|
||||
self.available = True
|
||||
|
||||
self.signal_state_updated = "_".join((DOMAIN, self.unique_id, "state_updated"))
|
||||
|
@ -333,12 +329,10 @@ class HKDevice:
|
|||
|
||||
async def get_characteristics(self, *args, **kwargs):
|
||||
"""Read latest state from homekit accessory."""
|
||||
async with self.pairing_lock:
|
||||
return await self.pairing.get_characteristics(*args, **kwargs)
|
||||
|
||||
async def put_characteristics(self, characteristics):
|
||||
"""Control a HomeKit device state from Home Assistant."""
|
||||
async with self.pairing_lock:
|
||||
results = await self.pairing.put_characteristics(characteristics)
|
||||
|
||||
# Feed characteristics back into HA and update the current state
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "HomeKit Controller",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/homekit_controller",
|
||||
"requirements": ["aiohomekit[IP]==0.2.37"],
|
||||
"requirements": ["aiohomekit[IP]==0.2.38"],
|
||||
"zeroconf": ["_hap._tcp.local."],
|
||||
"codeowners": ["@Jc2k"]
|
||||
}
|
||||
|
|
|
@ -175,7 +175,7 @@ aioftp==0.12.0
|
|||
aioharmony==0.1.13
|
||||
|
||||
# homeassistant.components.homekit_controller
|
||||
aiohomekit[IP]==0.2.37
|
||||
aiohomekit[IP]==0.2.38
|
||||
|
||||
# homeassistant.components.emulated_hue
|
||||
# homeassistant.components.http
|
||||
|
|
|
@ -82,7 +82,7 @@ aiofreepybox==0.0.8
|
|||
aioharmony==0.1.13
|
||||
|
||||
# homeassistant.components.homekit_controller
|
||||
aiohomekit[IP]==0.2.37
|
||||
aiohomekit[IP]==0.2.38
|
||||
|
||||
# homeassistant.components.emulated_hue
|
||||
# homeassistant.components.http
|
||||
|
|
Loading…
Add table
Reference in a new issue