Source code for platypush.message.event.sensor.light

from platypush.message.event import Event


[docs] class LightOnEvent(Event): """ Event triggered when a light on event is detected """
[docs] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs)
[docs] class LightOffEvent(Event): """ Event triggered when a light off event is detected """
[docs] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs)
# vim:sw=4:ts=4:et: