{% if prerelease %}
{% endif %} {% if (version_installed.split(".")[0:2] | join | int) < 20 %}
The mechanism for specifying the unique ID of sensors has been changed. To prevent duplicate sensors from being created, add option unique_id: __legacy__
to the settings of already available sensors. For more information, see the component's documentation.
Another way is to manually delete all old sensors via Configuration > Entities. Then restart HA and all the _2’s were was the original sensors again complete with their history.
{% endif %}
This sensor allows you to calculate the average state for one or more sensors over a specified period. Or just the average current state for one or more sensors, if you do not need historical data.
- Due to the fact that HA does not store in history the temperature units of measurement for weather, climate and water heater entities, the average sensor always assumes that their values are specified in the same units that are now configured in HA globally.
{% if not installed %}
- Click install.
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Average".
{% endif %}
* * *
I put a lot of work into making this repo and component available and updated to inspire and help others! I will be glad to receive thanks from you — it will give me new strength and add enthusiasm:
or support via Bitcoin or Etherium:
16yfCfz9dZ8y8yuSwBFVfiAa3CNYdMh7Ts