Añadidos binarios de ventanas
This commit is contained in:
13
packages/binary_sensor/ventana_habitacion_estudio.yaml
Normal file
13
packages/binary_sensor/ventana_habitacion_estudio.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Habitación Estudio" #Ventana Habitación Estudio
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_habitacion_estudio') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
13
packages/binary_sensor/ventana_habitacion_mia.yaml
Normal file
13
packages/binary_sensor/ventana_habitacion_mia.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Habitación Mia" #Ventana Habitación Mia
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_habitacion_mia') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
13
packages/binary_sensor/ventana_habitacion_noha.yaml
Normal file
13
packages/binary_sensor/ventana_habitacion_noha.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Habitación Noha" #Ventana Habitación Noha
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_habitacion_noha') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Habitación Principal Grande" #Ventana Habitación Principal Grande
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_habitacion_principal_grande') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
|
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Habitación Principal Pequeña" #Ventana Habitación Principal Pequeña
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_habitacion_principal_pequena') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
|
|
||||||
14
packages/binary_sensor/ventana_salon_fase_dos_grande.yaml
Normal file
14
packages/binary_sensor/ventana_salon_fase_dos_grande.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Salón Fase Dos Grande" #Ventana Salón Fase Dos Grande
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_salon_fase_dos_grande') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
|
|
||||||
14
packages/binary_sensor/ventana_salon_fase_dos_pequena.yaml
Normal file
14
packages/binary_sensor/ventana_salon_fase_dos_pequena.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Salón Fase Dos Pequeña" #Ventana Salón Fase Dos Pequeña
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_salon_fase_dos_pequena') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
|
|
||||||
14
packages/binary_sensor/ventana_salon_piscina_grande.yaml
Normal file
14
packages/binary_sensor/ventana_salon_piscina_grande.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Salón Piscina Grande" #Ventana Salón Piscina Grande
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_salon_piscina_grande') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
|
|
||||||
14
packages/binary_sensor/ventana_salon_piscina_pequena.yaml
Normal file
14
packages/binary_sensor/ventana_salon_piscina_pequena.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Ventana Salón Piscina Pequeña" #Ventana Salón Piscina Pequeña
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json.RfReceived.Data == 'AAAAAA' %}
|
||||||
|
{{'ON'}}
|
||||||
|
{% elif value_json.RfReceived.Data == 'BBBBBB' %}
|
||||||
|
{{'OFF'}}
|
||||||
|
{% else %}
|
||||||
|
{{states('binary_sensor.ventana_salon_piscina_pequena') | upper}}
|
||||||
|
{% endif %}
|
||||||
|
device_class: window
|
||||||
|
state_topic: "sonoffbridge/tele/RESULT"
|
||||||
|
|
||||||
Reference in New Issue
Block a user