Id: power-channels
Used for devices that support switching one or more channels off. This is used
for all devices of type switch
which are things such as power plugs and
light switches.
power
, array with the power state of all channelspowerChannelNAME
, where NAME is the channel with the first letter uppercase, boolean indicating if the channel is powered or not
The channels this device supports.
Get the powered on state of all channels as an object with keys for each channel.
Get if the given channel is powered on.
Switch the power state of the given channel.