1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-18 01:33:51 +01:00

make cwww, hbridge groupable

This commit is contained in:
J. Nick Koston
2025-10-09 15:42:51 -10:00
parent 0771c04b3c
commit e39ee807cf
10 changed files with 52 additions and 36 deletions

View File

@@ -7,10 +7,12 @@ substitutions:
hbridge_on_pin: "14"
hbridge_off_pin: "15"
packages:
common: !include common.yaml
<<: !include common.yaml
switch:
- id: !extend switch_hbridge
- platform: hbridge
id: switch_hbridge
on_pin: ${hbridge_on_pin}
off_pin: ${hbridge_off_pin}
pulse_length: 60ms
wait_time: 10ms