mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +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:
|
YOUR_SENSOR:
|
||||||
friendly_name: "Friendly name here"
|
friendly_name: "Friendly name here"
|
||||||
device_class: door
|
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 %}
|
{% endraw %}
|
||||||
|
|
||||||
@ -171,7 +171,7 @@ binary_sensor:
|
|||||||
YOUR_SENSOR:
|
YOUR_SENSOR:
|
||||||
friendly_name: "Friendly name here"
|
friendly_name: "Friendly name here"
|
||||||
device_class: motion
|
device_class: motion
|
||||||
value_template: {{ is_state('sensor.YOUR_SENSOR_burglar', '8') }}
|
value_template: "{{ is_state('sensor.YOUR_SENSOR_burglar', 8) }}"
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user