Improve ZHA startup performance (#70111)
* Remove semaphores and background mains init * additional logging * correct cache usage and update tests
This commit is contained in:
parent
02ddfd513a
commit
361119d5c1
10 changed files with 76 additions and 45 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue