I would like to see on my dashboard when the flag can be flown and how (half-mast, with or without pennant).
Based on that, I’d like to create automations that send a notification, etc.
Very much similar like the ‘Afvalbeheer’ integration.
I understand that the dates are easy to look up and, for example, can be added to a calendar, but the special cases are what make it really interesting—like “if the date falls on a Sunday, then raise the flag on Saturday instead.”
Thanks for your suggestion. Did search for such a calendar, but didn’t find it yet. For now, I have manually set the agenda items with a recurring pattern. Next, I have manually moved the items on sundays to the correct day for the next few years.
Now, with a script I read the upcoming day to put out the flag. With a automation I calculate if that date is tomorrow or today and take action on the outcome.
I wondered the same, last weekend and could not find any public accessible API. I did however create templates for this as I did not want to set calender items manually.
That sounds really cool. I can imagine you’d want to be able to add your own personal flag moments somewhere. So not only the ‘official’ flag moments, but also your wedding anniversary, your son or daughter getting married, one of the kids moving out…
The following countries have not been added to this release yet, but will be later today / this weekend.
Denmark
Norway
Sweden
Germany is to complicated due to federal rules being overwritten by Bundeslander rules. France I could not find official documentation that I was able to read.
For all countries the official rules are applied from government websites. Hoisting rules are applied by sun.sun or time, whatever is applicable per country or flagday.
There are 2 sensors:
Flag Day (countryname) stating if you should flag, why and how (full mast, half mast, with pennant or no pennant)
Next Flag Day Countdown (countryname), with days until, why and how
On your request of individual days: I have considered adding this. However due to there not being any logic to it, at first I decided to leave it out and see if there is demand for it. I do have an idea, how this could be done maybe, but it would be probably be a separate install, just like how you can install multiple countries. I will look in to it.