substitutions:
  pwm_platform: "rp2040_pwm"
  output1_pin: "4"
  output2_pin: "5"
  output3_pin: "6"
  output4_pin: "7"
  hbridge_on_pin: "2"
  hbridge_off_pin: "3"

<<: !include common.yaml

switch:
  - platform: hbridge
    id: switch_hbridge
    on_pin: ${hbridge_on_pin}
    off_pin: ${hbridge_off_pin}
    wait_time: 10ms
    optimistic: true
