OnOffTrait.OnWithTimedOffCommand

object OnOffTrait.OnWithTimedOffCommand : CommandDescriptor


Allow the device to be turned on for a specific duration with a guarded off duration so that, should the device be subsequently turned off, further OnWithTimedOff commands received during this time are prevented from turning the devices back on.

See also
onWithTimedOff

Use this command from the trait(OnOff) method.

Summary

Nested types

The request payload for the OnWithTimedOff command.

Public properties

open String

Unique id corresponding to the command.

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.