Best,
I have a Sonoff bridge since today, there is a magnetic contact on it, unfortunately I don’t get it working. Will put the details below.
binary_sensor:
- platform: mqtt
name: "WC Deur"
state_topic: "tele/bridge/RESULT"
value_template: '{{value_json.RfReceived.Data}}'
payload_on: "BC6129"
off_delay: "30"
device_class: motion
optimistic: false
qos: 1
retain: false
Log:Sat Dec 07 2019 18:32:18 GMT+0100 (Midden-Europese standaardtijd)
Invalid config for [sensor.mqtt]: [payload_on] is an invalid option for [sensor.mqtt]. Check: sensor.mqtt->payload_on. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/mqtt/