DummyLight¶
-
class
knut.services.light.dummylight.DummyLight(location, uid, room, dimlevel=False, color=False, temperature=False, color_cold='#f5faf6', color_warm='#efd275')¶ A dummy light for mock purpose.
Warning
This object is only for mock purpose and has no functionality.
The light has an uid and location within a room.
If the state of the light changes, e.g. when calling
status_setter(), the methodon_change()is called with the uid as argument. Any listener can register upon this event.