1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00: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,9 +7,11 @@ substitutions:
hbridge_on_pin: "2"
hbridge_off_pin: "3"
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