[bm8563] Use register_apply_action for read_time, write_time and start_timer (#19665)

This commit is contained in:
J. Nick Koston
2026-09-25 20:24:57 +01:00
committed by GitHub
parent dfd9d2639f
commit 0c548f77fa
4 changed files with 24 additions and 60 deletions
@@ -0,0 +1,7 @@
button:
- platform: template
name: BM8563 Actions
on_press:
- bm8563.read_time:
- bm8563.start_timer:
duration: !lambda return 60;
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
bm8563: !include common.yaml
actions: !include common-actions.yaml