OpenCloseCommand

Description

Set the open-close state of the device

Fields

Key Type Description
devices [Device]

Devices that support opening and closing, and in some cases opening and closing partially or potentially in more than one direction.

Required

openPercentNumber

Indicates the percentage that a device is opened, where 0 is closed and 100 is fully open.

Required

openDirectionString

Direction in which to open. Only present if device supports multiple directions, as indicated by the openDirection attribute, and a direction is specified by the user.

Optional

The available values depends on each device.

Examples

actions:-type:device.command.OpenClosedevices:My Device - Room NameopenPercent:100