mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-15 08:14:04 +02:00
test
This commit is contained in:
parent
7bbf091a2a
commit
e03e397c4f
1 changed files with 1 additions and 1 deletions
|
|
@ -2360,7 +2360,7 @@ class AdaptiveLightingManager:
|
|||
event.context.id,
|
||||
):
|
||||
self.reset(entity_id, reset_manual_control=False)
|
||||
|
||||
_LOGGER.debug("We should cancel here?")
|
||||
lock = self.turn_off_locks.setdefault(entity_id, asyncio.Lock())
|
||||
async with lock:
|
||||
if await self.just_turned_off(entity_id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue