Añadido doble sensor de 433Mhz
This commit is contained in:
14
packages/binary_sensor/puerta_tendedero_primario.yaml
Normal file
14
packages/binary_sensor/puerta_tendedero_primario.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Puerta Tendedero Primario"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == '0D7F0A' %}
|
||||
{{'ON'}}
|
||||
{% elif value_json.RfReceived.Data == '0D7F0E' %}
|
||||
{{'OFF'}}
|
||||
{% else %}
|
||||
{{states('binary_sensor.puerta_tendedero_primario') | upper}}
|
||||
{% endif %}
|
||||
device_class: opening
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 300
|
||||
Reference in New Issue
Block a user