value is needed instead of return_value (#2040)
This commit is contained in:
parent
27c7cff2fd
commit
699523f56a
1 changed files with 1 additions and 1 deletions
|
@ -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 %}{{ return_value == "1" }}{% endraw %}'
|
||||
value_template: '{% raw %}{{ value == "1" }}{% endraw %}'
|
||||
friendly_name: Kitchen Lightswitch
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue