Fix start & Fix XEE & Fix Template MQTT
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
binary_sensor:
|
||||
- platform: mqtt
|
||||
name: "Movimiento Pasillo Habitaciones"
|
||||
payload_on: "5D559C"
|
||||
payload_off: "5D559Coff"
|
||||
value_template: >-
|
||||
{% if value_json.RfReceived.Data == '5D559C' %}
|
||||
{{'ON'}}
|
||||
{% else %}
|
||||
{{states('binary_sensor.movimiento_pasillo_habitaciones') | 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