Revert "correct value_template format for command_state" (#1873)

This commit is contained in:
Fabian Affolter 2017-01-25 11:13:20 +01:00 committed by GitHub
parent 0149c4b4d3
commit 03d44a12b0

View File

@ -59,7 +59,7 @@ switch:
command_on: "/usr/bin/curl -X GET http://192.168.1.10/digital/4/1"
command_off: "/usr/bin/curl -X GET http://192.168.1.10/digital/4/0"
command_state: "/usr/bin/curl -X GET http://192.168.1.10/digital/4"
value_template: '{% raw %}{{ value == "1" }}{% endraw %}'
value_template: '{% raw %}{{ return_value == "1" }}{% endraw %}'
friendly_name: Kitchen Lightswitch
```