04-03-2024 02:01 AM
Hello,
In Google Automation, I tried to set a color in a script. For that, I used the "ColorAbsolute" command.
OK for the light temperature as explained here : https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-comma...
But to set a color, the only way I found is to tell the name of the color :
actions:
- type: device.command.ColorAbsolute
color:
name: blue
devices: Light 1
It's a bit limited... And I would prefer use an hexadecimal or RGB code to set the exact color I want.
I tried spectrumHEX and spectrumRGB instead of "name", but it doesn't work...
Somebody manages to set an HEX code with ColorAbsolute ?
Answered! Go to the Recommended Answer.
04-04-2024 11:31 AM
Currently "ColorAbsolute" in Google Assistant Automation doesn't directly support setting colors using hexadecimal or RGB codes. While it works for color names like "blue", it offers limited control for specific color selection.
04-04-2024 11:31 AM
Currently "ColorAbsolute" in Google Assistant Automation doesn't directly support setting colors using hexadecimal or RGB codes. While it works for color names like "blue", it offers limited control for specific color selection.
04-04-2024 11:43 AM
OK. It's a bit strange, but OK. Overall when I read that : https://developers.home.google.com/automations/schema/reference/entity/sht_device/color_absolute_com...
For those who want to set colors with the command ColorAbsolute, here's the names Google Automation supports :
06-09-2024 08:12 AM
color white out scam color