External integration - Holidays and working days

Hi everyone! :waving_hand:

Do you know the alarm going off at 6:45 a.m. on a Whit Monday? :sweat_smile: Here’s Holidays & Workdays: public holidays for nearly 200 countries, working days, and as a bonus, French school holidays by zone. Two Home Assistant integrations (Workday and Holiday) combined into one, without any hardware.

What it does

  • :date: A device called « France Calendar Â» (or your country’s calendar), usable in scene conditions:
    • public holiday today / tomorrow;
    • working day today / tomorrow;
    • school holidays today / tomorrow (zones A, B, C, Corsica, and overseas);
    • number of days until the next public holiday, and its name.
  • :world_map: Subdivisions: Alsace-Moselle (Good Friday and St. Stephen’s Day), German states, Swiss cantons, Belgian and Canadian provinces

  • :gear: Your working days, your bridge days, and the public holidays you work anyway (hello solidarity day).
  • :puzzle_piece: A « Next Public Holidays Â» widget.
  • :clapper_board: Four triggers at your chosen time: public holiday, eve of a public holiday (with the number of consecutive days off), start of school holidays, last day of holidays. And an action « Check a date Â» (today, tomorrow, or in N days).

The cool part

6:45 a.m., only working days → alarm, blinds, and coffee :hot_beverage:
Ascension Eve at 6 p.m. → « 4 days off! Â» and heating in weekend mode :palm_tree:
Last day of holidays at 7 p.m. → « Back to school tomorrow, remember the alarm Â» :backpack:

Installation

:warning: Gladys 5.1 minimum.

:light_bulb: It will be available in the store later today. In a hurry? Integrations → Install from GitHub, with the address GitHub - guim31/gladys-holidays: Public holidays and working days for Gladys Assistant, in 200 countries, plus French school holidays · GitHub

  1. In the configuration: your country, the subdivision if needed, your working days, and your school holiday zone.
  2. Discovery tab: add the calendar.

Public holidays are calculated locally, offline. Only school holidays come from the open data of the Ministry of Education, read once a day and kept in memory.

Honest small reservations: one country per installation, and an exceptional public holiday decided at the last minute will only arrive with an update (in the meantime, add it to your non-working days). It hasn’t run on a real Gladys yet: your feedback is precious.

Like the previous ones, coded with the help of Claude Code :robot:.

Repository: GitHub - guim31/gladys-holidays: Public holidays and working days for Gladys Assistant, in 200 countries, plus French school holidays · GitHub

Let me know what’s missing :folded_hands:

3 Likes