Mqtt/binary sensor STRING DOES NOT MATCH THE PATTERN OF DEPRECATED

Sorry to ask for help! Maybe it the frustration of things changing that are used in over 41% of HA installations. I get they want to make it better but I guess my HA skills are not sufficient to fix this.

Can someone convert this DEPRECATED yaml to acceptable yaml please and thanks SO much!

binary_sensor:

  • platform: mqtt
    name: “nestside” STRING DOES NOT MATCH THE PATTERN OF DEPRECATED
    device_class: motion STRING DOES NOT MATCH THE PATTERN OF DEPRECATED
    state_topic: “nestside” STRING DOES NOT MATCH THE PATTERN OF DEPRECATED
    payload_on: “on” STRING DOES NOT MATCH THE PATTERN OF DEPRECATED
    payload_off: “off” STRING DOES NOT MATCH THE PATTERN OF DEPRECATED
    value_template: “{{value_json.state}}” STRING DOES NOT MATCH THE PATTERN OF DEPRECATED
    off_delay: 3