Skip to content
PN Scripts

Smart home and IoT

Sedmitsa

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.

  • Home Assistant
  • Python
  • HACS
  • Coming soon

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.

Home Assistant dashboard with working-day and school-day sensors from Sedmitsa

What it solves

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.

Who it is for

Use it when

  • Wake-up alarms, heating and lights that run only on working days
  • School-morning routines and evening reminders before a school day
  • Monthly working-hours norm and deadlines in working days for a small office

Built for

  • Home Assistant users in Bulgaria
  • Small offices and families who automate around work and school days

What is inside

The Bulgarian rules, built in

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.

Sensors you can automate with

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.

School calendar

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.

Actions for scripts

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.

Specs

Availability
Coming soon
Vendor
PN Scripts
Type
Plugin
Pricing
One-time purchase Price to be announced.
License
Proprietary
Deployment
Download (ZIP with the custom integration, HACS-ready)
Maturity
v1.0.0

Compatibility

Platform or runtime Supported versions Tested up to
Home Assistant Core 2026.10 or newer 2026.10.0

Stack

  • Home Assistant
  • Python
  • HACS

Sedmitsa is coming soon

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.

Questions

A Home Assistant custom integration that knows Bulgarian working days, holidays, moved days off, declared non-working days and school days, and exposes them as sensors, calendars and actions.

Home Assistant 2026.10 or later (tested with Core 2026.10.0). It runs locally with no internet, account or extra Python packages, and installs by copying a folder or through HACS from your own private repository.

School years after 2026/2027 and government decisions made after the release come as updates; until then you add them as one line in the settings. Holidays of other denominations, which employees take as leave, are not included.

PN Scripts wrote the integration and checked it against published Bulgarian calendars for 2021 to 2027 and the 2026/2027 school order. Created with AI assistance; the holiday rules, the school calendar and every entity were checked by PN Scripts with 132 automated tests in Home Assistant Core 2026.10.0 and in a live Home Assistant.

It is not on sale yet. When it is, this page will link to the store; PN Scripts does not take payment on this site.