I’ve struggled with this overnight and not sure if anyone has had similar and managed to work it out, or whether I may need to open a new feature request.
Are we able to use templating in the name of an entity_id?
The official calendar is created each year and I add it when available for the upcoming season. However I need to go through and update all references to it under entity_id.
The template editor shows the output as I wish it to be displayed, however it doesn’t pass the configuration validation.
If I could template an entity_id name, then it would remove my need to go through and change the automation dependencies each year when the calendar is updated to the latest version!
In case you missed it, the key part to take away from those above posts (that isn’t being made explicit ) is the “data_template:” line in the action service call.