From 10436b2809cf8a98fc4ebffa168cb3f4b3177b04 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Sun, 3 Apr 2022 16:26:05 -0400 Subject: [PATCH] Add terms "weekend" and "weekday" (#22237) Co-authored-by: Franck Nijhof --- source/_integrations/workday.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_integrations/workday.markdown b/source/_integrations/workday.markdown index 8cff8d544f7..fc7d330ed26 100644 --- a/source/_integrations/workday.markdown +++ b/source/_integrations/workday.markdown @@ -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.