TS0601 Tuya movement sensor

What do I do wrong?

alias: Bijkeuken Play MP3 on Movement Detection
description: Bijkeuken Play MP3 on TS0601 media player if motion detected
trigger:

  • platform: state_changed
    entity_id: binary_sensor.radar1_bezetting_2
    to: ‘on’
    condition:
    action:
  • service: persistent_notification.create
    data:
    title: “Motion Detected!”
    message: “Movement in the bijkeuken.”
    mode: single
alias: Bijkeuken Play MP3 on Movement Detection
description: Bijkeuken Play MP3 on TS0601 media player if motion detected
trigger:
  - platform: state
    entity_id: binary_sensor.radar1_bezetting_2
    to: 'on'

condition: []

action:
  - service: persistent_notification.create
    data:
      title: "Motion Detected!"
      message: "Movement in the bijkeuken."

mode: single

state_changed >> state