I am hoping someone can provide some assistance as I am tearing my hair out here trying to do something that should be quite simple!
I have done heaps of googling already and tried suggestions in other threads, but to no avail.
I am just trying to make a simple automation to cycle through an input select and apply the state of the input select to the colour of the rgb downlight. In short, letting me cycle through some colours.
What I am seeing however, is that the variable (which should return the state of the input select) is not resolving and is acting like a string literal?
I can confirm that the input select is cycling by checking the ‘Helpers’ section and I can see the logs showing that the state is not resolving.
Starting with version 0.115, you can use data: with options containing templates. In all older versions, you have to use data_template: otherwise the template not be evaluated and simply handled literally as a string.
I see two reason for this not to work, first you mix GUI automations with templates, which doesn’t work and second which version of Home Assistant are you using?
Are you referring to the input select? I had previously defined this in the config files, but recently cut across to the helpers UI as I was following doco etc.
In that case, all you needed to do was use data_template because, as I explained, data behaves like data_template starting with 0.115 and more recent versions.
Now that your original question has been answered, please consider marking my post above with the Solution tag (the post explaining how your older version behaves differently). By doing this it will automatically place a check-mark next to the topic’s title which signals to other users that this topic has an accepted solution. This helps other users find answers to similar questions.
Be sure to review the release notes because there have been many significant enhancements since 0.113. If you use templates (in triggers, automations, sensors, etc) you should familiarize yourself with the new ways they are handled ( entity_id has been removed, entities within templates are identified using an entirely new way, and templates now return native python types as opposed to only a string value)