I use home assistant to set heating profiles and use a time and date sensor to trigger the heat profile at the appropriate time. I would like to trigger some of the profiles based on day of the week, whether it was a weekend etc. and am currently doing this by some hackery.
Would it be possible to add the following attributes to time and date sensor:
Day of the week
whether it is a weekday or weekend
whether it is a public holiday (appreciate this one might not be possible)
I should probably describe my use case a bit better. I currently have 8 heat profiles which are customisable through the front end, I have pasted a photo below.
As you can see in the condition section I have had to create an input_select which sets what day of the week it is and a binary_sensor which is a template that works out if it is a weekday or not. I then have an automation that runs at midnight each night and changes the day of the day of the week inout_select. I hope you now see why it feels so hacky. I would rather the condition just check an attribute in time and date to check whether the day of the week matched.