I have been wondering for a while what type of color value this is.
{
"event_type": "zha_event",
"data": {
"command": "move_to_color",
"args": [
44105,
15532,
0
]
}
}
I am using this formula to translate it to xy_color
, but have never been fully confident it is the appropriate choice.
xy_color: >
['{{trigger.event.data.args[0] * (0.1 ** 5)}}', '{{trigger.event.data.args[1] * (0.1 ** 5)}}']
Any thoughts appreciated. Thanks.