1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Add min_save_interval to total_energy/integration for memory wear (#1665)

Co-authored-by: Andreas Hergert <andreas.hergert@otrs.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
Andreas Hergert
2021-08-03 16:41:34 +02:00
committed by GitHub
parent 4c8a703084
commit 6516c64e67
7 changed files with 35 additions and 1 deletions

View File

@@ -540,6 +540,11 @@ sensor:
sensor: hlw8012_power
name: 'Integration Sensor'
time_unit: s
- platform: integration
sensor: hlw8012_power
name: 'Integration Sensor lazy'
time_unit: s
min_save_interval: 60s
- platform: hmc5883l
address: 0x68
field_strength_x: