mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 16:30:22 +00:00
[bm8563] Use register_apply_action for read_time, write_time and start_timer (#19665)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user