mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
make async_turn_off actually async
This commit is contained in:
parent
b381c5a96d
commit
3b868858b0
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class CircadianSwitch(SwitchEntity, RestoreEntity):
|
|||
self._state = True
|
||||
await self._force_update_switch()
|
||||
|
||||
def async_turn_off(self, **kwargs):
|
||||
async def async_turn_off(self, **kwargs):
|
||||
"""Turn off circadian lighting."""
|
||||
self._state = False
|
||||
self._hs_color = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue