@Giel538 wrote:
I created a binary sensor for my motion detection. The value is send by Zwave2Mqtt. It is sending a true or false. So this is my sensor in my configuration:
- platform: mqtt
state_topic: “z2m/4/48/1/0”
name: “motion_sensor_woonkamer_sensor”
payload_on: “true”
payload_off: “false”
device_class: motionBut somehow it is not working and i dont know why. I keep getting this message:
No matching payload found for entity: motion_sensor_woonkamer_sensor with state topic: z2m/4/48/1/0. Payload: true, with value template None
I am realy sure that the mqtt message only contains the word true or false.
I dont know which template i have to use.
For other sensors which are sending 1 and 0 or on and off it is working without template (off course with the right payload_on and off filled in)
Posts: 4
Participants: 2