FIX loging binary_sensor
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Movimiento Habitación Estudio"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == '2A00BC' %}
|
||||
{{'ON'}}
|
||||
{% else %}
|
||||
{{states('binary_sensor.movimiento_habitacion_estudio') | upper}}
|
||||
{% endif %}
|
||||
device_class: motion
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 5
|
||||
@@ -1,12 +0,0 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Movimiento Habitación Mia"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == 'CBD19C' %}
|
||||
{{'ON'}}
|
||||
{% elif value_json.RfReceived.Data == 'CBD190' %}
|
||||
{{'OFF'}}
|
||||
{% endif %}
|
||||
device_class: motion
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 10
|
||||
@@ -1,12 +0,0 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Movimiento Habitación Noha"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == 'DFEF9C' %}
|
||||
{{'ON'}}
|
||||
{% elif value_json.RfReceived.Data == 'DFEF90' %}
|
||||
{{'OFF'}}
|
||||
{% endif %}
|
||||
device_class: motion
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 10
|
||||
@@ -1,12 +0,0 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Movimiento Habitación Principal"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == 'FDE2BC' %}
|
||||
{{'ON'}}
|
||||
{% elif value_json.RfReceived.Data == 'FDE2B0' %}
|
||||
{{'OFF'}}
|
||||
{% endif %}
|
||||
device_class: motion
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 10
|
||||
@@ -1,12 +0,0 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Movimiento Pasillo Entrada"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == '4A3E9C' %}
|
||||
{{'ON'}}
|
||||
{% elif value_json.RfReceived.Data == '4A3E90' %}
|
||||
{{'OFF'}}
|
||||
{% endif %}
|
||||
device_class: motion
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 10
|
||||
@@ -1,12 +0,0 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Movimiento Pasillo Habitaciones"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == '5D559C' %}
|
||||
{{'ON'}}
|
||||
{% elif value_json.RfReceived.Data == '5D5590' %}
|
||||
{{'OFF'}}
|
||||
{% endif %}
|
||||
device_class: motion
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
off_delay: 10
|
||||
@@ -2,5 +2,6 @@ sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
temperatura_salon:
|
||||
friendly_name: 'Temperatura Salón'
|
||||
value_template: "{{state_attr('fan.xiaomi_miio_device_2', 'temperature')}}"
|
||||
unit_of_measurement: ºC
|
||||
|
||||
Reference in New Issue
Block a user