Añadido doble sensor de 433Mhz

This commit is contained in:
dfcarvajal
2019-12-09 12:33:05 +00:00
parent 3334b67cc6
commit 4be05b641a
21 changed files with 246 additions and 128 deletions

View File

@@ -0,0 +1,14 @@
binary_sensor:
- platform: mqtt
name: "Puerta Entrada Primario"
value_template: >-
{% if value_json.RfReceived.Data == 'A2670A' %}
{{'ON'}}
{% elif value_json.RfReceived.Data == 'A2670E' %}
{{'OFF'}}
{% else %}
{{states('binary_sensor.puerta_entrada_primario') | upper}}
{% endif %}
device_class: opening
state_topic: "sonoffbridge/tele/RESULT"
off_delay: 300