OnOffTrait.OffCommand

object OnOffTrait.OffCommand : CommandDescriptor


Turn off the device, and set the onOff attribute to false.

See also
off

Use this command from the trait(OnOff) method.

Summary

Nested types

The request payload for the Off command.

Descriptor enum for this command's request fields.

Public properties

open String

Unique id corresponding to the command.

open String

Human-friendly name of the command.

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.

commandName

open val commandNameString

Human-friendly name of the command.