I am following the example in the device class of the documentation.
Code: Select all
if avgDaylight_ == 'false':
indigo.dimmer.brighten('spotlight', by=60, delay=0)
indigo.device.turnOff('spotlight', delay=30)bob
Code: Select all
if avgDaylight_ == 'false':
indigo.dimmer.brighten('spotlight', by=60, delay=0)
indigo.device.turnOff('spotlight', delay=30)Post by matt (support) »
Return to “Extending Indigo with Plugins and Python”
