Binary sensor setup for Zigbee - value_template

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:???