Closed dmfrey closed 14 hours ago
As far as I know, the warnings come from the fact that there is no silent way of testing if a variable has been defined for the script. Since you're supplying only the scene
argument when calling the script, other variables (like repeat_delay
) are undefined, and the warning is given every time (you can test this with a snippet like {% if bla %}x{% else %}y{% endif %}
in the template editor).
Thus, I'd ignore the warnings. The bigger problem seems to be that the lights are not changing: Could you please
as a test, i setup a dashboard that will just let me change the different scenes. It seems to be working fine. Those messages do appear in the logs, but don't seem to affect the operation.
I'll see if I still notice the issue of the color not changing from my automation. But I'm gonna try a different one than the Autumn Gold.
I believe I'm all good now. Thanks for your help
closes #14
I've setup the blueprint and I'm seeing these errors in the logs:
My HA is runnign in kubernetes and my HA configuration is stored in a github repo.
My script is configured like:
And it's called from an automation:
The lights do change. But that's it. They never rotate or anything else.