Add terms "weekend" and "weekday" (#22237)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Matthew Miller 2022-04-03 16:26:05 -04:00 committed by GitHub
parent c79be027a3
commit 10436b2809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,8 @@ ha_platforms:
The `workday` binary sensor indicates whether the current day is a workday or not. It allows specifying which days of the week will count as workdays and also
uses the Python module [holidays](https://pypi.python.org/pypi/holidays) to incorporate information about region-specific public holidays.
This can be used to make automations that act differently on weekdays vs weekends. For example, you could make your bedroom lights turn on (gently) at 7 in the morning if it is a weekday, but wait until 11 if it is a weekend day.
## Setup
Check the [country list](https://github.com/dr-prodigy/python-holidays#available-countries) for available provinces (and other subdivisions, like states and territories) for each country.