-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, the integration seems to break in HA 23.3.1 #187
Comments
Same here! I'm going to switch to statistics platform as its causing me some major issues. Kept my heating on all night because it claimed the average of two indoor thermometers was -232C! |
Same here, almost all sensors become unavaialable. |
This specific error seems to be an SqlAlchemy query cache bug (again), see: home-assistant/core#89224 and home-assistant/core#89170 Try to restart HA core a few times and there is a good chance to get rid of it until the next restart. Or not. On the other hand:
|
Many thanks, I missed that post! |
I've tried to test the PR in #89224 that fixes the query cache issue, but my system currently works without any issue, with or without the PR, even if I restart it 10 times, even if I restore a previous HA core and DB state. If somebody wants to test the PR also, make sure:
Then you can test it with the following commands:
You should see something like this:
If something really goes wrong you can copy back the python files from /share and restart HA core. Or restore a backup. |
That fix is also in 2023.3.2. So no need for command line. :) Please do some restarts after upgrading to 2023.3.2 to be sure, the problem really disappeared and do not resurface after a restart. |
Hi There I'm still experiencing this issue in HA 2023.3.3. All Temperature Average sensors are unavailable on restart. Can be recovered after a few restarts OR seems to always recover after a full reboot of the HA RaspPi. This only affects Temperature based Averages. All others (humidity, Lux, voltage, download speed) are not affected. They are available on every restart and do not seem to exhibit any strange value behaviour either. I am seeing the warning pasted below in my HA Log, and I'm wondering if this is related to the issue?
|
The database related issue is fixed in sqlalchemy and will be part of 2023.3.4, fingers crossed home-assistant/core#89489 (comment) The deprecation problem I think will never be fixed in this integration. :( I've moved on and replaced it with the built-in sensors. An idea in case of temperature averages: https://community.home-assistant.io/t/average-sensor/111674/153 |
Hi Imagyar Thanks for this. I have this week also made the move to the built-in-sesnors. The Average integration certainly has it's advantages, especially when it comes to averaging several sensors over time, but it definately has it's issues as well! Thanks |
Update black requirement from ~=24.3 to ~=24.4
Environment
Describe the bug
All values seem to go way off due to some calculation error in the integration.
N/A
Add your configs here if any.
Steps to Reproduce
Just installed the HA 2023.03.1 update
Expected behavior
Kinda stating the obvious, but I'd expect a running average of my sensor that makes sense.
Debug log
To be uploaded
Add your logs here.
The text was updated successfully, but these errors were encountered: