Skip to content

Commit e449146

Browse files
committed
Update ha_release
1 parent 090d7dd commit e449146

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/_components/binary_sensor.workday.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ ha_release: 0.41
1515

1616
The `workday` binary sensor indicates, whether the current day is a workday or not. It allows specifying, which days of the week counts as workdays and also uses the python module [holidays](https://pypi.python.org/pypi/holidays) to incorporate information about region-specific public holidays.
1717

18+
To enable the `workday` sensor in your installation, add the following to your `configuration.yaml` file:
19+
1820
```yaml
1921
# Example configuation.yaml entry
2022
binary_sensor:
@@ -32,8 +34,8 @@ Configuration variables:
3234
3335
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.
3436

35-
3637
Example usage for automation:
38+
3739
```yaml
3840
automation:
3941
alias: Turn on heater on workdays

0 commit comments

Comments
 (0)