Quitado entity_id deprecated
This commit is contained in:
@@ -3,9 +3,6 @@ binary_sensor:
|
|||||||
sensors:
|
sensors:
|
||||||
puerta_tendedero:
|
puerta_tendedero:
|
||||||
friendly_name: "Puerta Tendedero"
|
friendly_name: "Puerta Tendedero"
|
||||||
entity_id:
|
|
||||||
- binary_sensor.puerta_tendedero_primario
|
|
||||||
- binary_sensor.puerta_tendedero_secundario
|
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% if as_timestamp(states.binary_sensor.puerta_tendedero_secundario.last_changed) <=
|
{% if as_timestamp(states.binary_sensor.puerta_tendedero_secundario.last_changed) <=
|
||||||
as_timestamp(states.binary_sensor.puerta_tendedero_primario.last_changed) -%}
|
as_timestamp(states.binary_sensor.puerta_tendedero_primario.last_changed) -%}
|
||||||
@@ -13,5 +10,4 @@ binary_sensor:
|
|||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{ states('binary_sensor.puerta_tendedero_secundario') }}
|
{{ states('binary_sensor.puerta_tendedero_secundario') }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
device_class: door
|
device_class: door
|
||||||
|
|
||||||
Reference in New Issue
Block a user