mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Add optional categories to workday (#33608)
* workday optional categories * Update source/_integrations/workday.markdown Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update source/_integrations/workday.markdown --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
81ba63a30d
commit
ced14c4aa1
@ -47,8 +47,11 @@ Remove holidays will take dates formatted with `YYYY-MM-DD`, a date range format
|
||||
|
||||
The offset can be used to see if future days are workdays. For example, put `1` to see if tomorrow is a workday.
|
||||
|
||||
Additional categories can be added through the configuration to include optional holidays according to the lists provided in the [python-holidays library](https://github.com/vacanza/python-holidays?tab=readme-ov-file#available-countries)
|
||||
|
||||
## Action `workday.check_date`
|
||||
|
||||
|
||||
This action populates [Response Data](/docs/scripts/service-calls#use-templates-to-handle-response-data)
|
||||
providing feedback if the date is a workday or not.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user