I set up a helper template number to check my led’s white channel.
the state is {{ state_attr(“light.shellyplusrgbwpm_kitchenbottomright”, “rgbw_color”)[3] }} which works fine.
I tried adding an action to change the led’s value
This does not change my led because the state of my helper is not updated with the value set.
How can I use the value set in the helper, instead of the state which is always representing my current led white value?
Thanks for the fast reply, unfortunately the result is the same.
states('number.kitchenbottomrightwhite') | int always represents the value of my state {{ state_attr(“light.shellyplusrgbwpm_kitchenbottomright”, “rgbw_color”)[3] }}
It seems not to take the users input for the numeric helper.
The input is recognized, for testing purpose I just toggle some other light to see if the input is triggered.
I used Create Helper → Template → Template a number
For State template* I use {{ state_attr(“light.shellyplusrgbwpm_kitchenbottomright”, “rgbw_color”)[3] }} to extract the white value from my led
You may need to use a tuple instead of a list for the rgbw value… I don’t have any, so I can’t test it. If the above doesn’t work use parentheses instead of square brackets i.e. (0,0,0,value)