substitutions:
  pwm_platform: "esp8266_pwm"
  output1_pin: "4"
  output2_pin: "5"
  output3_pin: "12"
  output4_pin: "13"
  hbridge_on_pin: "14"
  hbridge_off_pin: "15"

<<: !include common.yaml

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