Reestructura aperturas de puertas
Cambio de raiz de packages a binary_sensor las aperturas
This commit is contained in:
@@ -4,9 +4,8 @@ binary_sensor:
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == 'A2670A' %}
|
||||
{{'ON'}}
|
||||
{% else %}
|
||||
{{states('binary_sensor.puerta_entrada') | upper}}
|
||||
{% elif value_json.RfReceived.Data == 'A2670E' %}
|
||||
{{'OFF'}}
|
||||
{% endif %}
|
||||
device_class: opening
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 10
|
||||
@@ -4,9 +4,8 @@ binary_sensor:
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == '0D7F0A' %}
|
||||
{{'ON'}}
|
||||
{% else %}
|
||||
{{states('binary_sensor.puerta_tendedero') | upper}}
|
||||
{% elif value_json.RfReceived.Data == '0D7F0E' %}
|
||||
{{'OFF'}}
|
||||
{% endif %}
|
||||
device_class: opening
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 10
|
||||
Reference in New Issue
Block a user