You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I've used the average sensor to determine the average of a few entities for a long period of time (a month). These entities update very regularly (~every 5 seconds) and after I configured the average sensors, Home Assistant has become very unresponsive. It seems like every time the entities update, the average sensor gets recalculated, pulling in data for ~100.000 changes per entity. Every time it does this, there is severe input lag in Home assistant. Even Zigbee devices have been reacting very poorly and were reacting fine after I disabled the sensors again.
Describe the solution you'd like
Make the calculation of the average sensors in a seperate, low priority thread if it isn't doing that already?
Add an option to change the update frequency for certain average sensors? I don't need the average sensor for data of a month to update every 5 seconds.
Describe alternatives you've considered
Implement this in my own way?
Additional context
Home assistant becoming almost unuseable while average sensor is active
The text was updated successfully, but these errors were encountered:
Checklist
Is your feature request related to a problem? Please describe.
I've used the average sensor to determine the average of a few entities for a long period of time (a month). These entities update very regularly (~every 5 seconds) and after I configured the average sensors, Home Assistant has become very unresponsive. It seems like every time the entities update, the average sensor gets recalculated, pulling in data for ~100.000 changes per entity. Every time it does this, there is severe input lag in Home assistant. Even Zigbee devices have been reacting very poorly and were reacting fine after I disabled the sensors again.
Describe the solution you'd like
Make the calculation of the average sensors in a seperate, low priority thread if it isn't doing that already?
Add an option to change the update frequency for certain average sensors? I don't need the average sensor for data of a month to update every 5 seconds.
Describe alternatives you've considered
Implement this in my own way?
Additional context
Home assistant becoming almost unuseable while average sensor is active
The text was updated successfully, but these errors were encountered: