Fix start & Fix XEE & Fix Template MQTT
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Movimiento Habitación Principal"
|
||||
payload_on: "FDE2BC"
|
||||
payload_off: "FDE2BCoff"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == 'FDE2BC' %}
|
||||
{{'ON'}}
|
||||
{% else %}
|
||||
{{states('binary_sensor.movimiento_habitacion_principal') | upper}}
|
||||
{% endif %}
|
||||
device_class: motion
|
||||
state_topic: "sonoffbridge/tele/RESULT"
|
||||
value_template: "{{value_json.RfReceived.Data}}"
|
||||
off_delay: 8
|
||||
|
||||
off_delay: 10
|
||||
|
||||
Reference in New Issue
Block a user