mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 10:56:43 +00:00
[sen5x] Use register_apply_action for sen5x.start_fan_autoclean (#19653)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
button:
|
||||
- platform: template
|
||||
name: SEN5x Clean the fan
|
||||
on_press:
|
||||
- sen5x.start_fan_autoclean: sen54
|
||||
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
|
||||
sen5x: !include common.yaml
|
||||
actions: !include common-actions.yaml
|
||||
Reference in New Issue
Block a user