Skip to content

Scrypted Documentation / OnOff

Interface: OnOff

OnOff is a basic binary switch.

Properties

on?

optional on: boolean

Methods

turnOff()

turnOff(): Promise<void>

Returns

Promise<void>


turnOn()

turnOn(): Promise<void>

Returns

Promise<void>