Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107697

Why statistics so flaky?

$
0
0

I am trying to add a statistics helper to keep track of the lowest value of a sensor in the last day.
I have added the following sensor but it is too flaky, meaning it just jumps back up to the highest value.
The sensor this analytics helper is tracking is generally having 2 value changes each day.

sensors.yml:

- platform: statistics
  name: "Min electricity tarif last 24 hours"
  entity_id: sensor.smart_meter_electricity_import_unit_rate
  unique_id: 10003
  state_characteristic: value_min
  precision: 4
  max_age:
    hours: 24

The sensor. looks like this over each day

And at random times, the sensor the yml above creates will jump from the min (0.09) to the max value (0.34) and there is no indication as to WHY.

Here is how this created sensor looks like

Even if I manually set it back to 0.09 it jumps back up to 0.34 after a few seconds

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107697

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>