Improve ZHA startup performance (#70111)

* Remove semaphores and background mains init

* additional logging

* correct cache usage and update tests
This commit is contained in:
David F. Mulcahey 2022-04-27 11:24:26 -04:00 committed by GitHub
parent 02ddfd513a
commit 361119d5c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 76 additions and 45 deletions

View file

@ -488,7 +488,7 @@ class Light(BaseLight, ZhaEntity):
]
results = await self._color_channel.get_attributes(
attributes, from_cache=False
attributes, from_cache=False, only_cache=False
)
if (color_mode := results.get("color_mode")) is not None: