Turn lights on or off
set_powerSwitch Twinkly lights on or off: on resumes movie playback, off stops the LEDs.
Instructions
Turn a Twinkly device on or off. "off" stops the LEDs; "on" resumes movie playback (the usual powered-on state). For a specific mode like a static color or the demo loop, use set_mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | true to turn the lights on (movie mode), false to turn them off. | |
| device | No | Name of the target device (see list_devices). Omit to use the default device. |