Description
Fields
Key | Type | Description |
---|---|---|
devices
|
[Device] |
Required Variable is allowed. |
color
|
ColorAbsoluteCommandColor |
Required |
name
|
String |
Optional To use this field, all the following fields CANNOT be used: temperature, spectrumRGB, spectrumHSV Variable is allowed. |
temperature
|
ColorTemperature |
Optional To use this field, all the following fields CANNOT be used: name, spectrumRGB, spectrumHSV Variable is allowed. The value number range depends on each device. |
spectrumRGB
|
ColorHex |
Optional To use this field, all the following fields CANNOT be used: name, temperature, spectrumHSV Some devices may not support this field. Variable is allowed. |
spectrumHSV
|
ColorAbsoluteCommandSpectrumHSV |
Optional To use this field, all the following fields CANNOT be used: temperature, spectrumRGB, name Some devices may not support this field. |
hue
|
Number |
Required Variable is allowed. |
saturation
|
Number |
Required Variable is allowed. |
value
|
Number |
Required Variable is allowed. |
Examples
actions:
- type: device.command.ColorAbsolute
devices: My Device - Room Name
color:
name: blue