Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

No matching payload found for entity (mqtt binary_sensor)

$
0
0

@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: motion

But 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

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles