BrightnessRelativeCommand

Description

Adjust device relative brightness.

Fields

Key Type Description
devices [Device]

Lights

Required

Variable is allowed.

brightnessRelativePercent Number

The exact percentage of brightness to change.

Optional

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

Variable is allowed.

brightnessRelativeWeight Number

This indicates the ambiguous amount of the brightness change. From small amount to large amount, this param will be scaled to integer 0 to 5, with the sign to indicate direction.

Optional

Variable is allowed.

Examples

actions:
  type: device.command.BrightnessRelative
  devices: My Device - Room Name
  brightnessRelativePercent: 50