mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-27 23:07:34 +00:00
Update sensor.command_line.markdown (#14023)
Fixed incorrect quoting in template example: nested single quotes.
This commit is contained in:
parent
c9a0539d43
commit
8d7e11cd67
@ -183,7 +183,7 @@ sensor:
|
||||
sensor:
|
||||
- platform: command_line
|
||||
name: wind direction
|
||||
command: 'sh /home/pi/.homeassistant/scripts/wind_direction.sh {{ states('sensor.wind_direction') }}'
|
||||
command: "sh /home/pi/.homeassistant/scripts/wind_direction.sh {{ states('sensor.wind_direction') }}"
|
||||
unit_of_measurement: "Direction"
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user