[hbridge] Use register_apply_action for fan.hbridge.brake (#19649)

This commit is contained in:
J. Nick Koston
2026-09-25 14:30:30 -04:00
committed by GitHub
parent 340e105a76
commit 9ae83f2830
4 changed files with 17 additions and 16 deletions
@@ -0,0 +1,5 @@
button:
- platform: template
name: Brake the fan
on_press:
- fan.hbridge.brake: fan_hbridge
@@ -0,0 +1,10 @@
substitutions:
pwm_platform: "esp8266_pwm"
output1_pin: "4"
output2_pin: "5"
output3_pin: "12"
output4_pin: "13"
packages:
hbridge: !include common.yaml
actions: !include common-actions.yaml