Skip to content

Commit 699523f

Browse files
Bart274fabaff
authored andcommitted
value is needed instead of return_value (home-assistant#2040)
1 parent 27c7cff commit 699523f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/switch.command_line.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ switch:
5959
command_on: "/usr/bin/curl -X GET http://192.168.1.10/digital/4/1"
6060
command_off: "/usr/bin/curl -X GET http://192.168.1.10/digital/4/0"
6161
command_state: "/usr/bin/curl -X GET http://192.168.1.10/digital/4"
62-
value_template: '{% raw %}{{ return_value == "1" }}{% endraw %}'
62+
value_template: '{% raw %}{{ value == "1" }}{% endraw %}'
6363
friendly_name: Kitchen Lightswitch
6464
```
6565

0 commit comments

Comments
 (0)