esphome:
  on_boot:
    then:
      - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e'
      - rtttl.stop

output:
  - platform: rp2040_pwm
    id: rtttl_output
    pin: 3
    frequency: 1500Hz
    max_power: 0.5

rtttl:
  output: rtttl_output