The gap
Home Assistant automations that should skip holidays get Bulgaria wrong: they miss the day off that follows a weekend holiday, the government's declared days, and school vacations, so alarms ring and heating starts on days nobody works.
Smart home and IoT
Bulgarian working days, holidays, moved days off and school days as Home Assistant sensors and calendars, computed locally from the Labour Code and the official school calendar.
Coming soon
Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.
The gap
Home Assistant automations that should skip holidays get Bulgaria wrong: they miss the day off that follows a weekend holiday, the government's declared days, and school vacations, so alarms ring and heating starts on days nobody works.
What it is
Sedmitsa computes Bulgarian working days locally from the Labour Code rules, the declared non-working days and the official school calendar, and exposes them as sensors, calendars and actions.
How you use it
One condition, working day today, and your alarms, heating, lights and reminders follow the real Bulgarian calendar.
For Home Assistant users in Bulgaria, homes and small offices alike, Sedmitsa is a local working-day and school-day calendar that follows Bulgarian law instead of a generic holiday list.
Use it when
Built for
Holidays follow art. 154 of the Labour Code with Orthodox Easter. A holiday on a Saturday or Sunday gives a day off on the next free working day, so Christmas on a weekend gives two days and 1 May on Holy Saturday moves past Easter Monday. The government's declared days for the euro changeover are included and can be switched off.
Working day today and tomorrow, the kind of day, the next day off with the start, end and length of the break, the next working day, and working days and hours this month, next month and this year. All of them refresh just after midnight.
Pick grades 1 to 3, 4 to 6, 7 to 11 or 12 and get school-day sensors and a calendar of vacations and non-school days for 2026/2027, taken from the Minister of Education's order, including grade 12's shorter spring break and early last day. Flu holidays and a municipality's own days go in a separate list.
check_date tells the kind of any date, count_working_days returns days and hours between two dates, and add_working_days returns the date a number of working days later or earlier, for deadlines. Each returns a response you can use in templates.
1 of 5
| Platform or runtime | Supported versions | Tested up to |
|---|---|---|
| Home Assistant Core | 2026.10 or newer | 2026.10.0 |
It is finished and tested. It is not on sale yet; this page will say where to get it when it is.
Coming soon
Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.