Skip to content

A Chinese holidays integration for Home-Assistant.

License

Notifications You must be signed in to change notification settings

touero/HaVacation

Repository files navigation

HaVacation

A Chinese workday/vacation integration for Home-Assistant.

Installation

Hacs Install

If you have installed hacs, please click:
ByHacs
After restart Home-Assistant, you can find it in the integration menu or click:
add_integration

Manual Install

Go to Releases download the HaVacation.tar.gz, and move it to HomeAssistant/custom_components and execute:

tar -zxvf ha_vacation.tar.gz

And then restart your home-assistant.

In add integration search HaVacation configure it.

Details

After you will get 1-3 sensor:

preview

And then have attribute:

preview

Tip

Is workday indicates whether it is a working day, type: string.
Is vacation indicates whether it is a holiday, type: string.
The value of IsWorkday and IsVacation there will be only two changes: true and false.
UpdatedAt is the sensor update datetime, it will update at every day 00:00.

Start your automation!

Maintainers

@touero

Base on

chinese-calendar