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?
entity_id: calendar.{{now().year}}_fia_formula_one_world_championship_race_calendar
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!
Any help/information is appreciated.