mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Document workday integration with no country specified. (#28641)
* Update workday binary_sensor documentation for usage with no specified country. The first documentation example was incorrect and its described functionality was impossible until the below PR was implemented. See: - https://github.com/home-assistant/core/issues/85996 - https://github.com/home-assistant/core/pull/87222 * Modify language for the `None` country option to be less colloquial. --------- Co-authored-by: G Johansson <goran.johansson@shiftit.se>
This commit is contained in:
parent
f6e4274173
commit
d3ef019217
@ -30,7 +30,7 @@ Check the [country list](https://github.com/dr-prodigy/python-holidays#available
|
||||
{% include integrations/config_flow.md %}
|
||||
|
||||
Days are specified as follows: `mon`, `tue`, `wed`, `thu`, `fri`, `sat`, `sun`.
|
||||
The keyword `holiday` is used for public holidays identified by the holidays module.
|
||||
The keyword `holiday` is used for public holidays identified by the holidays module and holidays added by the `add_holidays` configuration option.
|
||||
|
||||
<div class='note warning'>
|
||||
|
||||
@ -40,7 +40,7 @@ Take note of the `holiday` keyword. Your first instinct might be to add it to th
|
||||
|
||||
## Specific field information
|
||||
|
||||
Country code must be given according to [holidays](https://pypi.org/project/holidays/) notation.
|
||||
Country code must be given according to [holidays](https://pypi.org/project/holidays/) notation. The country can also be set to `None` to start with an empty set of holidays. This is useful in conjunction with the add holidays field.
|
||||
|
||||
Subdivision code must be given according to [holidays](https://pypi.org/project/holidays/) notation.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user