Merge branch 'next' into device-class

This commit is contained in:
Fabian Affolter 2017-02-11 17:55:16 +01:00 committed by GitHub
commit f19ab6fa7f
35 changed files with 653 additions and 84 deletions

View file

@ -46,13 +46,13 @@ An extended configuration for the same sensor could look like this if you want/n
```yaml
# Example configuration.yml entry
binary_sensor:
platform: mqtt
state_topic: "home-assistant/window/contact"
name: "Windows contact"
qos: 0
payload_on: "1"
payload_off: "0"
device_class: opening
value_template: '{% raw %}{{ value.x }}{% endraw %}'
- platform: mqtt
state_topic: "home-assistant/window/contact"
name: "Windows contact"
qos: 0
payload_on: "1"
payload_off: "0"
device_class: opening
value_template: '{% raw %}{{ value.x }}{% endraw %}'
```