RotateAbsoluteCommand

Description

Set the absolute rotation of the device.

Fields

Key Type Description
devices [Device]

Devices that support rotation.

Required

Variable is allowed.

rotationDegrees Number

An absolute value, in degrees, that specifies the final clockwise rotation of the device.

Optional

To use this field, all the following fields CANNOT be used: rotationPercent

Some devices may not support this field.

Variable is allowed.

rotationPercent Number

An absolute value, in percentage, that specifies the final rotation of the device.

Optional

To use this field, all the following fields CANNOT be used: rotationDegrees

Some devices may not support this field.

Variable is allowed.

Examples

actions:
- type: device.command.RotateAbsolute
  devices: My Device - Room Name
  rotationDegrees: 90