OnOffTrait.OnWithRecallGlobalSceneCommand

object OnOffTrait.OnWithRecallGlobalSceneCommand : CommandDescriptor


Allow the recall of the settings (global scene) the device had when the device was turned off.

This command is ignored if the globalSceneControl attribute is true.

If the globalSceneControl attribute is false, the global scene is recalled, the onOff attribute is updated accordingly, and the globalSceneControl attribute is set to true.

When this command is called, if the onTime attribute is 0, then the offWaitTime attribute is also set to 0.

See also
onWithRecallGlobalScene

Use this command from the trait(OnOff) method.

Summary

Nested types

The request payload for the OnWithRecallGlobalScene command.

Public properties

open String

Unique id corresponding to the command.

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.