Add reset all / reset energy function to also clear the local meter

This commit is contained in:
2026-05-30 17:06:31 +02:00
parent 31848bf26c
commit 2a1902ccf1
+4
View File
@@ -519,12 +519,16 @@ button:
atorch_dl24_id: atorch0
reset_energy:
name: "${friendly_name} Atorch Reset Energy"
on_press:
- sensor.integration.reset: atorch_energy_calculated
reset_capacity:
name: "${friendly_name} Atorch Reset Capacity"
reset_runtime:
name: "${friendly_name} Atorch Reset Runtime"
reset_all:
name: "${friendly_name} Atorch Reset All"
on_press:
- sensor.integration.reset: atorch_energy_calculated
usb_plus:
name: "${friendly_name} Atorch Plus"
usb_minus: