mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 08:20:21 +00:00
[motion] Use register_apply_action for motion.clear_calibration (#19700)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user