Bump ZHA dependencies (#93989)

* Make `find_entity_id` synchronous

* Remove `tries`

* Use new `attribute_updated` event signature

* Validate attributes before creating entities

* Avoid swallowing exceptions when opening covers

* Bump ZHA dependencies

* Add a matcher for Sinope water leak sensors using a non-standard ZCL attribute

* Ensure handler matching is strict, not multi

* Add type annotations for newly-updated functions
This commit is contained in:
puddly 2023-06-14 21:42:31 -04:00 committed by GitHub
parent 584967a35a
commit 22dfa8797f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 221 additions and 308 deletions

View file

@ -70,7 +70,7 @@ async def test_device_tracker(
zha_device = await zha_device_joined_restored(zigpy_device_dt)
cluster = zigpy_device_dt.endpoints.get(1).power
entity_id = await find_entity_id(Platform.DEVICE_TRACKER, zha_device, hass)
entity_id = find_entity_id(Platform.DEVICE_TRACKER, zha_device, hass)
assert entity_id is not None
assert hass.states.get(entity_id).state == STATE_NOT_HOME