mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-09-26 04:02:50 +02:00
added min_save_interval to total_daily_energy and integration to keep wear on memory low (#1085)
Co-authored-by: Andreas Hergert <andreas.hergert@otrs.com>
This commit is contained in:
parent
6ea664c162
commit
7e1658a839
@ -38,6 +38,7 @@ Configuration variables:
|
||||
that the value can be restored upon power cycle or reboot.
|
||||
Warning: this option can wear out your flash. Defaults to ``false``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **min_save_interval** (*Optional*, :ref:`config-time`): The minimum time span between saving updated values to storage. This is to keep wearout of memory low. Defaults to ``0s``.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
.. _sensor-integration-reset_action:
|
||||
|
@ -38,6 +38,7 @@ Configuration variables:
|
||||
to integrate over time.
|
||||
- **name** (**Required**, string): The name of the sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **min_save_interval** (*Optional*, :ref:`config-time`): The minimum time span between saving updated values to storage. This is to keep wearout of memory low. Defaults to ``0s``.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
Converting from W to kW
|
||||
|
Loading…
Reference in New Issue
Block a user