mirror of
https://github.com/esphome/esphome.git
synced 2026-09-28 15:30:21 +00:00
[ufire_ise] Use register_apply_action for calibrate_probe_low, calibrate_probe_high and reset (#19670)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
button:
|
||||
- platform: template
|
||||
name: uFire ISE Actions
|
||||
on_press:
|
||||
- ufire_ise.calibrate_probe_high:
|
||||
id: ufire_ise_sensor
|
||||
solution: !lambda return 10.0;
|
||||
- ufire_ise.calibrate_probe_low:
|
||||
id: ufire_ise_sensor
|
||||
solution: !lambda return 4.0;
|
||||
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
|
||||
ufire_ise: !include common.yaml
|
||||
actions: !include common-actions.yaml
|
||||
Reference in New Issue
Block a user