mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 23:04:03 +02:00
Update switch.py
This commit is contained in:
parent
cebf31a203
commit
2f0bad82ff
1 changed files with 0 additions and 1 deletions
|
|
@ -1142,7 +1142,6 @@ class AdaptiveSwitch(SwitchEntity, RestoreEntity):
|
|||
)
|
||||
self.async_write_ha_state()
|
||||
|
||||
# Return here if there's no lights to adapt.
|
||||
if lights is None:
|
||||
lights = self._lights
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue