A Chinese workday/vacation integration for Home-Assistant, support customize date of workday and vacation.
If you have installed hacs, please click:
Go to Releases download the ha_vacation.tar.gz and move it to HomeAssistant/custom_components and execute:
tar -zxvf ha_vacation.tar.gzAnd then restart your home-assistant.
In add integration search HaVacation configure it.
Important
Reloading is required after configuring a custom date
After you will get 1-3 sensor:
And then have attribute:
You can customize the date of workday and vacation in the integration configuration.
Tip
The following are the types and descriptions of each attribute.
| attribute | type | description |
|---|---|---|
| Updated at | str | The sensor update datetime, it will update at every day 00:00. |
| Is workday | str | Indicates whether it is a working day. |
| Is vacation | str | Indicates whether it is a holiday. |
| Is customize date | str | This day a custom date entered manually. |
The value of Is workday, Is vacation and Is customize date there will be only two changes: true and false.
Important
Reloading is required after configuring a custom date
Start your automation!



