mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
add missing await
This commit is contained in:
parent
b0b11d0652
commit
4870b7c405
1 changed files with 1 additions and 1 deletions
|
|
@ -579,7 +579,7 @@ class AdaptiveSwitch(SwitchEntity, RestoreEntity):
|
|||
if not self._should_adjust():
|
||||
return
|
||||
tasks = [
|
||||
self._adjust_light(light, transition)
|
||||
await self._adjust_light(light, transition)
|
||||
for light in lights
|
||||
if is_on(self.hass, light)
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue