mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-26 02:37:03 +00:00
Workday explain offset field (#27579)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
2c00066325
commit
f79eb288c7
@ -47,6 +47,8 @@ Add holidays will only take dates formatted with `YYYY-MM-DD`.
|
|||||||
|
|
||||||
Remove holidays will take dates formatted with `YYYY-MM-DD` or partial of name, for example, `christmas` will exclude `Christmas Day`.
|
Remove holidays will take dates formatted with `YYYY-MM-DD` or partial of name, for example, `christmas` will exclude `Christmas Day`.
|
||||||
|
|
||||||
|
The offset can be used to see if future days are workdays. For example, put `1` to see if tomorrow is a workday.
|
||||||
|
|
||||||
## Automation example
|
## Automation example
|
||||||
|
|
||||||
Example usage for automation:
|
Example usage for automation:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user