Update ha_release

This commit is contained in:
Fabian Affolter 2017-03-16 07:52:27 +01:00
parent 090d7dd3b0
commit e4491462b1
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -15,6 +15,8 @@ ha_release: 0.41
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.
To enable the `workday` sensor in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuation.yaml entry
binary_sensor:
@ -32,8 +34,8 @@ Configuration variables:
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.
Example usage for automation:
```yaml
automation:
alias: Turn on heater on workdays