mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
Other fixes
Apparently I don't get to make up configuration variables. Removing it anyway since few other components have it as an option
This commit is contained in:
parent
1a74879767
commit
d6793ad267
@ -126,13 +126,12 @@ binary_sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
YOUR_SENSOR:
|
||||
sensor_class: opening
|
||||
friendly_name: "Friendly name here"
|
||||
value_template: >-
|
||||
{% raw %}{%- if is_state('sensor.YOUR_SENSOR_access_control', '22') -%}
|
||||
open
|
||||
on
|
||||
{%- else -%}
|
||||
closed
|
||||
off
|
||||
{%- endif -%}{% endraw %}
|
||||
```
|
||||
|
||||
@ -155,7 +154,6 @@ binary_sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
YOUR_SENSOR:
|
||||
sensor_class: motion
|
||||
friendly_name: "Friendly name here"
|
||||
value_template: >-
|
||||
{% raw %}{%- if is_state('sensor.YOUR_SENSOR_burglar', '8') -%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user