mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Minor fix (#6071)
* Minor fix Removing quotes around numbers in the templates * Update entities.markdown
This commit is contained in:
parent
ce9d0751ea
commit
64da013d69
@ -145,7 +145,7 @@ binary_sensor:
|
||||
YOUR_SENSOR:
|
||||
friendly_name: "Friendly name here"
|
||||
device_class: door
|
||||
value_template: {{ is_state('sensor.YOUR_ORIGINAL_SENSOR_access_control', '22') }}
|
||||
value_template: "{{ is_state('sensor.YOUR_ORIGINAL_SENSOR_access_control', 22) }}"
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
@ -171,7 +171,7 @@ binary_sensor:
|
||||
YOUR_SENSOR:
|
||||
friendly_name: "Friendly name here"
|
||||
device_class: motion
|
||||
value_template: {{ is_state('sensor.YOUR_SENSOR_burglar', '8') }}
|
||||
value_template: "{{ is_state('sensor.YOUR_SENSOR_burglar', 8) }}"
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user