mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 15:27:08 +00:00
Update osramlightify.py (#9905)
This commit is contained in:
parent
d95b75a10c
commit
51c5534c2a
@ -269,7 +269,7 @@ class OsramLightifyGroup(Luminary):
|
|||||||
def _get_state(self):
|
def _get_state(self):
|
||||||
"""Get state of group.
|
"""Get state of group.
|
||||||
|
|
||||||
The group is on, if any of the lights in on.
|
The group is on, if any of the lights is on.
|
||||||
"""
|
"""
|
||||||
lights = self._bridge.lights()
|
lights = self._bridge.lights()
|
||||||
return any(lights[light_id].on() for light_id in self._light_ids)
|
return any(lights[light_id].on() for light_id in self._light_ids)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user