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

Average sensor alternative

$
0
0

Hello,

I have used the average sensor (GitHub - Limych/ha-average: Average Sensor for Home Assistant) for a long time, but now it seems to have been discontinued (Does not work on HA Core 2022.05. · Issue #129 · Limych/ha-average · GitHub).

My usual sensors seems like this:

- platform: average
  name: moving_average_1
  entities:
    - sensor.temperature_sensor
  precision: 1
  start: '{{ now().replace(hour=0).replace(minute=30).replace(second=0) - timedelta(days=1) }}'
  end: '{{ now().replace(hour=23).replace(minute=59).replace(second=0) - timedelta(days=1) }}'
  scan_interval: 1800

I’ve looked at the min/max, statistics, and filter sensors, but I cannot find the start and end of the time window functionability.

Does anybody know if there’s a way to do it now?

Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 103219

Trending Articles



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