platypush.plugins.light

class platypush.plugins.light.LightPlugin(**kwargs)[source]

Abstract plugin to interface your logic with lights/bulbs.

off()[source]

Turn the light off

on()[source]

Turn the light on

status()[source]

Get the light status

toggle()[source]

Toggle the light status (on/off)