I have a Sonoff RF bridge and my automatons for sonoff dor sensor are getting a erro message:
" No matching payload found for entity: Porta Rua with state_topic: tele/sonoffRf/RESULT
11:30 components/binary_sensor/mqtt.py (WARNING)
Error parsing value: ‘value_json’ is undefined (value: D44E4Eoff, template: {{value_json.RfReceived.Data}})
11:30 helpers/template.py (ERROR)"
My /config/configuration.yaml is:
- platform: mqtt
state_topic: “tele/sonoffRf/RESULT”
name: “Porta Rua”
value_template: ‘{{value_json.RfReceived.Data}}’
payload_on: “EAB5E1”
payload_off: “EAB5E1off”
device_class: door
and /config/automations.yaml:
alias: Som Portões Rua
trigger:
- entity_id: binary_sensor.garagem
from: ‘off’
platform: state
to: ‘on’ - entity_id: binary_sensor.porta_rua
from: ‘off’
platform: state
to: ‘on’
condition: [] - delay: 00:00:09
- data:
payload: EAB5E1off
retain: ‘true’
topic: tele/sonoffRf/RESULT
service: mqtt.publish…
…
I could not find what is wrong in this.