[fingerprint_grow] Use register_apply_action for the six fingerprint_grow actions (#19640)

This commit is contained in:
J. Nick Koston
2026-09-25 19:11:51 +01:00
committed by GitHub
parent ad6996a63c
commit 32624e248c
4 changed files with 87 additions and 177 deletions
@@ -0,0 +1,16 @@
button:
- platform: template
name: Fingerprint LED Actions
on_press:
- fingerprint_grow.enroll: 3
- fingerprint_grow.enroll:
finger_id: !lambda return 4;
num_scans: !lambda return 3;
- fingerprint_grow.led_control: true
- fingerprint_grow.led_control:
state: !lambda return false;
- fingerprint_grow.aura_led_control:
state: BREATHING
speed: 200
color: BLUE
count: 2
@@ -0,0 +1,9 @@
substitutions:
tx_pin: GPIO0
rx_pin: GPIO2
sensing_pin: GPIO15
packages:
uart: !include ../../test_build_components/common/uart/esp8266-ard.yaml
fingerprint_grow: !include common.yaml
actions: !include common-actions.yaml