mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Fix configuration sample
This commit is contained in:
parent
ddf9f6a055
commit
ef9472a22a
@ -22,7 +22,7 @@ binary_sensor:
|
||||
command: cat /proc/sys/net/ipv4/ip_forward
|
||||
name: 'IP4 forwarding'
|
||||
payload_on: "1"
|
||||
payload_of: "0"
|
||||
payload_off: "0"
|
||||
value_template: '{% raw %}{{ value.x }}{% endraw %}'
|
||||
```
|
||||
|
||||
|
@ -24,7 +24,7 @@ binary_sensor:
|
||||
name: "MQTT Sensor"
|
||||
qos: 0
|
||||
payload_on: "ON"
|
||||
payload_of: "OFF"
|
||||
payload_off: "OFF"
|
||||
value_template: '{% raw %}{{ value.x }}{% endraw %}'
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user