mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-26 18:57:17 +00:00
parent
c35303e37f
commit
1ab7bc19c6
@ -99,7 +99,7 @@ sensor:
|
|||||||
garage_car_present:
|
garage_car_present:
|
||||||
friendly_name: 'Honda in Garage'
|
friendly_name: 'Honda in Garage'
|
||||||
value_template: {% raw %}'{% if states.cover.honda %}
|
value_template: {% raw %}'{% if states.cover.honda %}
|
||||||
{% if is_state('cover.honda', 'open') %}
|
{% if is_state("cover.honda", "open") %}
|
||||||
n/a
|
n/a
|
||||||
{% elif ((states.cover.honda.attributes["distance_sensor"] > 40) and (states.cover.honda.attributes["distance_sensor"] < 100)) %}
|
{% elif ((states.cover.honda.attributes["distance_sensor"] > 40) and (states.cover.honda.attributes["distance_sensor"] < 100)) %}
|
||||||
Yes
|
Yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user