Binary sensor setup for Zigbee - value_template

Tags: #<Tag:0x00007f3270766098> #<Tag:0x00007f3270765f58> #<Tag:0x00007f3270765e18> #<Tag:0x00007f3270765be8>

Does anyone have an example of a binary sensor configuration for a zigbee device?

tele/zigbee/SENSOR = {“ZbReceived”:{“0x3D3D”:{“Device”:“0x3D3D”,“0006!01”:"",“Power”:1,“Endpoint”:1,“LinkQuality”:126}}}

it should be something like:

  • platform: mqtt
    name: “Zigbee Remote”
    state_topic: “tele/zigbee/SENSOR”
    payload_off: “0”
    payload_on: “1”
    qos: 1
    device_class: power
    value_template:???