-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
ASUSWRT: download/upload traffic sensors have "total_increasing" - but they may change down #117598
Comments
Hey there @kennedyshead, @ollo69, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) asuswrt documentation |
Based on HA development guide, in the section How to choose |
Imho, if some entity is declared as “total_inreasing” - it is assumed as “always increasing”, right? |
No, this is not what is explained in the link that I put in my previous post, please read it. |
I see, guess this is what you meant: So, in this doc it is said that the |
Let me just do some additional checks. It could be possible that when router reboot first value reported after reboot is not 0 and may be this create issue in the ha logics... |
The problem
This is a different issue than #31404.
Here is a history for "download" & "upload" sensors (along with "uptime" sensor):
The "uptime" sensor is provided by SNMP integration.
On this graph is is clearly visible that "download" & "upload" data are reset at every router's reboot.
Both "download" & "upload" sensors have a
state_class: total_increasing
:There a warnings in Log:
2024-05-17 00:35:10.521 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.ac68u_download from integration asuswrt has state class total_increasing, but its state is not strictly increasing. Triggered by state 0.406751801 (0.416624954) with last_updated set to 2024-05-16T21:33:01.314263+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+asuswrt%22
2024-05-17 00:35:10.522 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.ac68u_upload from integration asuswrt has state class total_increasing, but its state is not strictly increasing. Triggered by state 0.247178351 (0.248717192) with last_updated set to 2024-05-16T21:33:01.314467+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+asuswrt%22
2
What version of Home Assistant Core has the issue?
2024.5.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
ASUSWRT
Link to integration documentation on our website
https://www.home-assistant.io/integrations/asuswrt/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: