Hi
I’ve been searching everyvery, and tried “everything” but can’t figure out how to add an entity from an MQTT discovered motion sensor.
This is what I see inn MQTT broker:
Message 36 received on /mqtt/out at 4:27 PM:
20;97;EV1527;ID=000373;SWITCH=0a;CMD=ON;
Tried this in configuration.yaml, but there is no response from the sensor.
binary_sensor:
- platform: mqtt
name: "PIR TEST"
state_topic: "/mqtt/out/EV1527_000373_0a"
device_class: motion
payload_on: "on"
off_delay: 5
PS: The sensor only sends ON command
What am I missing?
PI4 - Sonoff bridge with RFLink32