Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 514 Bytes

examples.rst

File metadata and controls

27 lines (18 loc) · 514 Bytes

Examples

Classes

VoluxLight

Warning

This section is a work-in-progress

Adding New Lights

from voluxlight import VoluxLight
vlight = VoluxLight(<label>)

<operator instance>.add_module(vlight)

<label> must be a string. This is the name you've set via your mobile for a LIFX bulb on your network.

In the bar demo, we have a bulb with the label 'Demo Bulb', so we set <label> to match it accordingly.