What I’m trying to do: I have a calendar that shows when my team is playing but I wanted to use a conditional card to show on my tablet dashboard not just for the time period of the game but for the entire game day. The calender is an ical from the club and only shows true for the time period of the game.
My issue: Firstly I dont know how to write a template for this.
I want something that detects if there is something on each day for that calendar and if so, set a helper to true and then at midnight it checks again and sets it to false so the card clears off the dashboard until the next game day.
Here is something that may be able to help you …
Automation that gives you a list of calendar events for that day. You can use that to display in your card - or use markdown card to show “{{ states(‘input_text.games_coming_up’)}}”
It assumes you have calendar already added, called “the_ical_calendar”
It assumes you have a input_text helper “games_coming_up”
Cheers, this is a good starting point. I want a boolean so I can trigger the display of another card but this guidance and chatgpt I might get there. I will update if I do.