Description
Adjust device absolute brightness. When brightness is set to any value greater than 0, if the device is off, it powers on, and the OnOffState.state
changes to reflect that the device is on. Likewise, when brightness is set to 0, the device powers off and the OnOffState.state
changes accordingly.
Fields
Key | Type | Description |
---|---|---|
devices
|
[Device] |
Devices with brightness support such as lights. Required |
brightness
|
Number |
New brightness percentage. Required |
Examples
actions:
type: device.command.BrightnessAbsolute
devices: My Device - Room Name
brightness: 50