I was looking to post almost the same WTH, but I was looking for a solution that is much more intuitive than just a date, for example trigger on the 4th Thursday in November - right now I have to hard code a date in a value template, which means I have to touch that automation once a year.
WTH- I can trigger an event by day of the week, time of day, sunrise/sunset, etc. But if I want to set my Xmas scene on Dec 1 I have to be an engineer. Please make calendar dates as easy to use as day/time!
Maybe you want a conditional Sections card to only appear during a certain month. E.g., Christmas stuff to only appear during Christmas time. It would be great if we could select an exact date or month just as easily as we can select days of the week.
Edit #2: before anyone assumes I’m suggesting this WTH is not valid, that is not my intent. I’m simply showing there exists a method to do this already; I’m not saying it shouldn’t be simpler. And, also, anything can be done using templates, but that is another method that many will think is even more complicated.
The advantage of templates is that they’re flexible enough to cater for any additional option you can think of, whereas the UI for including extras gets messy fast.
Agreed if all the options can be presented in a way that isn’t going to end up causing more problems. We already get quite a fewquestions from people guessing what to put in the Attribute field of the state trigger (hint: leave it blank unless you know better) and that’s a simple UI.
To be pedantic, that’s Jinja not YAML (except the leading hyphen). You can use these in the UI.
I think most of us know we can do almost everything using additional integration, tricky templates, delays or create different automations just for a simple action
But i feel the request is to have an easy way to have different automation based on calendar/ days condition nativelly on HA. some examples…
anything that is triggered/condition is every weekend
anything that is triggered/condition is every first Monday of the month
Easy way to have a device on nor off for a period of time…
I feel scheduler card is a good example of something similar should be part of HA natively