Hi everybody,
maybe somebody has already done this, so before trying to create it myself, I’ll ask here first
Is there a way to be notified if today+1/+2/+3 is a public holiday?
I am trying to achieve the following:
- get all public holidays in one’s region (nextcloud / google calendar) from calendar
- create automations to automatically send notification about upcoming public holidays
- depending on current DOW and days until next upcoming public holiday, send reminder
So let’s say May 4th
was a public holiday in my country and state. In this example, May 4th is next week’s Monday. I would like home assistant to see on the previous Friday that next public holiday in today+3
and tomorrow = weekend, day after tomorrow = weekend
, so therefore notify notify.telegram "Attention! Next Monday is a public holiday!! Make sure to get groceries before Saturday night!
.
Europeans among you might be familiar with this problem: stores are open on Saturday, but closed on Sunday. They might be open on some holidays as well (you can shop until noon on Christmas Eve), but will be closed all day on other holidays.
It would be very helpful to be notified if one will not be able to go shopping on “regular Mondays” because a public holiday causes stores to be closed. Similar use case might be things like “Good Friday”, which -obviously- always happens on Friday. To avoid having to go on Saturday (which is then the only day between Thursday and Monday you can get groceries!), it’d be nice to be reminded on Wednesday/Thursday to get shopping out of the way before Good Friday comes.
Most people working at their workplace most likely know these holidays; I work from home and frankly don’t have to remember public holidays, so it has happened to me many times that I didn’t realize stores were closed until it was “that day” that they were already closed. And yeah, I have the holidays on a calendar on my phone (imported ics from public sources to nextcloud), but it will not notify me depending on day of week when the next public holiday will come up.
Has anybody else on here encountered this problem and already found a solution? Thanks in advance for your ideas