OnOffTrait.OnCommand

object OnOffTrait.OnCommand : CommandDescriptor


Turn on the device, and set the onOff attribute to true.

See also
on

Use this command from the trait(OnOff) method.

Summary

Nested types

The request payload for the On command.

Public properties

open String

Unique id corresponding to the command.

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.