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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user