A Chinese workday/vacation integration for Home-Assistant.
If you have installed hacs, please click:
After restart Home-Assistant, you can find it in the integration menu or click:
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.
After you will get 1-3 sensor:
And then have attribute:
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!