[motion] Use register_apply_action for motion.clear_calibration (#19700)

This commit is contained in:
J. Nick Koston
2026-09-25 20:32:57 -04:00
committed by GitHub
parent 447348d617
commit 01a2aaef08
6 changed files with 20 additions and 68 deletions
@@ -0,0 +1,7 @@
button:
- platform: template
name: Clear motion calibration
on_press:
- motion.clear_calibration:
- motion.clear_calibration:
save: true
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
qmi8658: !include common.yaml
actions: !include common-actions.yaml