RotateAbsoluteCommand

Description

Set the absolute rotation of the device.

Fields

Key Type Description
devices [Device]

Devices that support rotation.

Required

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.

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.

Examples

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