"Analyze your data with Home Assistant: Numerical helpers for extreme values"
One of the best features of Home Assistant is its recording power with the Historical graph card and Historical panel.
In any entity, whether it is temperature, power, voltage, flow rate, tank level, percentage of memory use, etc.
We can obtain the daily maximum and minimum of this entity:
We will create four numerical helpers to contain the maximum and minimum values of the current day and also of the previous day.
Those of the current day will be set to the value of the entity at midnight and then as the value of the entity varies, they will be updated.
Those of the previous day will only be updated at midnight with the value of the previous day, the history can be consulted with the historical graph.
"Home assistant" "tutorial" "historical graph" "numerical helpers" "historical data" "home automation" "IoT" "smart home" "today" "yesterday"