home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.64k stars 30.4k forks source link

gb_sent from integration Fritz! has state class total_increasing, but its state is not strictly increasing #100553

Closed frankfrommelt closed 5 months ago

frankfrommelt commented 1 year ago

The problem

[homeassistant.components.sensor.recorder] Entity sensor.unibox2_gb_sent from integration fritz has state class total_increasing, but its state is not strictly increasing. Triggered by state 22.4 (22.5) with last_updated set to 2023-09-18T11:47:53.791867+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+fritz%22

What version of Home Assistant Core has the issue?

core-2023.9.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

AVM FRITZ!Box Tools

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fritz

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

home-assistant[bot] commented 1 year ago

Hey there @mammuth, @aarondavidschneider, @chemelli74, @mib1185, mind taking a look at this issue as it has been labeled with an integration (fritz) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `fritz` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign fritz` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


fritz documentation fritz source (message by IssueLinks)

chemelli74 commented 1 year ago

HI @frankfrommelt, please add diagnostics (menu configuration -> integration -> fritz tools -> download diagnostics )

frankfrommelt commented 1 year ago

Hi Simone,

please find attached the requested information.

Take care

                  Frank

Von: Simone Chemelli @.> Gesendet: Montag, 18. September 2023 21:09 An: home-assistant/core @.> Cc: Frank Frommelt @.>; Mention @.> Betreff: Re: [home-assistant/core] gb_sent from integration Fritz! has state class total_increasing, but its state is not strictly increasing (Issue #100553)

HI @frankfrommelthttps://github.com/frankfrommelt, please add diagnostics (menu configuration -> integration -> fritz tools -> download diagnostics )

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/100553#issuecomment-1724215138, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN5XG765JFFYCHHQ25AD4FDX3CL5FANCNFSM6AAAAAA44VVYJY. You are receiving this because you were mentioned.Message ID: @.**@.>>

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "aarch64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "6.1.21-v8", "supervisor": "2023.09.2", "host_os": "Home Assistant OS 10.5", "docker_version": "23.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "dwd_pollenflug": { "version": "1.0.2", "requirements": [ "pytz" ] }, "alexa_media": { "version": "4.6.5", "requirements": [ "alexapy==1.26.8", "packaging>=20.3", "wrapt>=1.12.1" ] }, "homematicip_local": { "version": "1.41.0", "requirements": [ "hahomematic==2023.9.0" ] }, "localtuya": { "version": "5.2.1", "requirements": [] }, "ble_monitor": { "version": "12.4.0", "requirements": [ "pycryptodomex>=3.14.1", "janus>=1.0.0", "aioblescan>=0.2.14", "btsocket>=0.2.0", "pyric>=0.1.6.3" ] }, "average": { "version": "2.3.0", "requirements": [] }, "webrtc": { "version": "v3.3.0", "requirements": [] }, "selve": { "version": "3.0.6", "requirements": [ "python-selve-new==2.2.13" ] }, "waste_collection_schedule": { "version": "1.42.0", "requirements": [ "icalendar", "recurring_ical_events", "icalevents", "bs4" ] }, "volkswagencarnet": { "version": "v4.4.65", "requirements": [ "pytz", "volkswagencarnet==4.4.62" ] }, "virtual": { "version": "0.8.0b1", "requirements": [] }, "miele": { "version": "0.1.15", "requirements": [ "flatdict==4.0.1", "pymiele==0.1.6" ] }, "xiaomi_cloud_map_extractor": { "version": "v2.2.0", "requirements": [ "pillow", "pybase64", "python-miio", "requests", "pycryptodome" ] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "zha_toolkit": { "version": "v1.0.0", "requirements": [ "pytz" ] }, "thermal_comfort": { "version": "2.1.1", "requirements": [] }, "presence_simulation": { "version": "3.1", "requirements": [] }, "holidays": { "version": "1.9.6", "requirements": [ "python-dateutil>=2.8.2", "holidays>=0.14.2" ] }, "powercalc": { "version": "v1.9.4", "requirements": [ "numpy>=1.21.1" ] }, "adaptive_lighting": { "version": "1.19.0", "requirements": [ "ulid-transform" ] }, "dwd_weather": { "version": "v1.2.28", "requirements": [ "simple_dwd_weatherforecast==1.1.5", "markdownify==0.6.5" ] } }, "integration_manifest": { "domain": "fritz", "name": "AVM FRITZ!Box Tools", "codeowners": [ @.", @.", @.", @." ], "config_flow": true, "dependencies": [ "network" ], "documentation": "https://www.home-assistant.io/integrations/fritz", "iot_class": "local_polling", "loggers": [ "fritzconnection" ], "requirements": [ "fritzconnection[qr]==1.12.2", "xmltodict==0.13.0" ], "ssdp": [ { "st": "urn:schemas-upnp-org:device:fritzbox:1" } ], "is_built_in": true }, "data": { "entry": { "entry_id": "08353941f61489bcd96dcd2237a3a6c7", "version": 1, "domain": "fritz", "title": "unibox 6591", "data": { "host": "192.168.1.254", "password": "REDACTED", "port": 49000, "username": "REDACTED" }, "options": { "consider_home": 180.0, "old_discovery": false }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "ssdp", "unique_id": "123402409-bccb-40e7-8e6c-2C91AB876993", "disabled_by": null }, "device_info": { "model": "FRITZ!Box 6591 Cable (lgi)", "unique_id": "2C91ABXX:XX3", "current_firmware": "7.57", "latest_firmware": "", "update_available": false, "connection_type": "WANIPConnection", "is_router": true, "mesh_role": "master", "last_update success": true, "last_exception": null, "discovered_services": [ "any1", "WANCommonIFC1", "WANDSLLinkC1", "WANIPConn1", "WANIPv6Firewall1", "DeviceInfo1", "DeviceConfig1", "Layer3Forwarding1", "LANConfigSecurity1", "ManagementServer1", "Time1", "UserInterface1", "X_AVM-DE_Storage1", "X_AVM-DE_WebDAVClient1", "X_AVM-DE_UPnP1", "X_AVM-DE_Speedtest1", "X_AVM-DE_RemoteAccess1", "X_AVM-DE_MyFritz1", "X_VoIP1", "X_AVM-DE_OnTel1", "X_AVM-DE_Dect1", "X_AVM-DE_TAM1", "X_AVM-DE_AppSetup1", "X_AVM-DE_Homeauto1", "X_AVM-DE_Homeplug1", "X_AVM-DE_Filelinks1", "X_AVM-DE_Auth1", "X_AVM-DE_HostFilter1", "X_AVM-DE_Media1", "X_AVM-DE_USPController1", "WLANConfiguration1", "WLANConfiguration2", "WLANConfiguration3", "Hosts1", "LANEthernetInterfaceConfig1", "LANHostConfigManagement1", "WANCommonInterfaceConfig1", "WANDSLInterfaceConfig1", "X_AVM-DE_WANMobileConnection1", "WANDSLLinkConfig1", "WANEthernetLinkConfig1", "WANPPPConnection1", "WANIPConnection1" ], "client_devices": [ { "connected_to": "", "connection_type": "", "hostname": "snom715-8A9F60", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026536+00:00", "wan_access": true }, { "connected_to": "howibox", "connection_type": "WLAN", "hostname": "Dot4", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026576+00:00", "wan_access": true }, { "connected_to": "repeater", "connection_type": "WLAN", "hostname": "Kronleuchter", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026598+00:00", "wan_access": true }, { "connected_to": "howibox", "connection_type": "WLAN", "hostname": "Show5", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026616+00:00", "wan_access": true }, { "connected_to": "rep1200ax", "connection_type": "WLAN", "hostname": "KetteTelefon", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026633+00:00", "wan_access": true }, { "connected_to": "repeater", "connection_type": "WLAN", "hostname": "Luftquali-WZ", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026650+00:00", "wan_access": true }, { "connected_to": "howibox", "connection_type": "WLAN", "hostname": "EchoStudio", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026666+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "hass", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026710+00:00", "wan_access": true }, { "connected_to": "unibox2", "connection_type": "WLAN", "hostname": "Spuelmaschine", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026764+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "S21-FE-von-Heike", "is_connected": false, "last_activity": "2023-09-19T04:49:36.018725+00:00", "wan_access": true }, { "connected_to": "howibox", "connection_type": "WLAN", "hostname": "Klingel", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026881+00:00", "wan_access": true }, { "connected_to": "repeater", "connection_type": "WLAN", "hostname": "Terrasse", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026898+00:00", "wan_access": true }, { "connected_to": "unibox2", "connection_type": "WLAN", "hostname": "S22-Ultra-von-Frank", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026920+00:00", "wan_access": true }, { "connected_to": "rep1200ax", "connection_type": "WLAN", "hostname": "Stromzaehler", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026937+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "ccu3", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026953+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "Einfahrt", "is_connected": false, "last_activity": null, "wan_access": true }, { "connected_to": "repeater", "connection_type": "WLAN", "hostname": "Luftquali-SZ", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026982+00:00", "wan_access": true }, { "connected_to": "repeater", "connection_type": "WLAN", "hostname": "BroadLink-WZ", "is_connected": true, "last_activity": "2023-09-19T07:01:13.026997+00:00", "wan_access": true }, { "connected_to": "howibox", "connection_type": "WLAN", "hostname": "BroadLink-SZ", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027015+00:00", "wan_access": true }, { "connected_to": "repeater", "connection_type": "WLAN", "hostname": "Spot", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027034+00:00", "wan_access": true }, { "connected_to": "unibox2", "connection_type": "WLAN", "hostname": "EchoShow10", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027050+00:00", "wan_access": true }, { "connected_to": "unibox2", "connection_type": "WLAN", "hostname": "Dreifachsteckdose", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027069+00:00", "wan_access": true }, { "connected_to": "repeater", "connection_type": "WLAN", "hostname": "Dobby", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027087+00:00", "wan_access": true }, { "connected_to": "howibox", "connection_type": "WLAN", "hostname": "Miele-001D63FFFE13ED9B", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027104+00:00", "wan_access": true }, { "connected_to": "howibox", "connection_type": "WLAN", "hostname": "Office2", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027120+00:00", "wan_access": true }, { "connected_to": "howibox", "connection_type": "WLAN", "hostname": "switchoffice", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027136+00:00", "wan_access": true }, { "connected_to": "rep1200ax", "connection_type": "WLAN", "hostname": "Garten", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027153+00:00", "wan_access": true }, { "connected_to": "rep1200ax", "connection_type": "WLAN", "hostname": "eScooter", "is_connected": true, "last_activity": "2023-09-19T07:01:13.027169+00:00", "wan_access": true }, { "connected_to": "rep1200ax", "connection_type": "WLAN", "hostname": "Blink-Mini", "is_connected": true, "last_activity": "2023-09-19T07:01:13.028719+00:00", "wan_access": true }, { "connected_to": "repeater", "connection_type": "WLAN", "hostname": "Viessmann-1225", "is_connected": true, "last_activity": "2023-09-19T07:01:13.028868+00:00", "wan_access": true }, { "connected_to": "unibox2", "connection_type": "WLAN", "hostname": "Strom", "is_connected": true, "last_activity": "2023-09-19T07:01:13.028895+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "Blink-DHCP", "is_connected": false, "last_activity": "2023-09-19T06:48:29.006921+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "Badlicht", "is_connected": false, "last_activity": "2023-09-19T04:42:53.920470+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "S21-FE-von-Heike", "is_connected": false, "last_activity": "2023-09-19T04:43:26.983005+00:00", "wan_access": true }, { "connected_to": "rep1200ax", "connection_type": "WLAN", "hostname": "Solar", "is_connected": true, "last_activity": "2023-09-19T07:01:13.028967+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "dakoServFFRS7", "is_connected": false, "last_activity": null, "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "SchlafTV", "is_connected": false, "last_activity": "2023-09-18T19:47:20.043690+00:00", "wan_access": true }, { "connected_to": "unibox2", "connection_type": "LAN", "hostname": "Switch", "is_connected": true, "last_activity": "2023-09-19T07:01:13.029017+00:00", "wan_access": false }, { "connected_to": "", "connection_type": "", "hostname": "raspi", "is_connected": true, "last_activity": "2023-09-19T07:01:13.029035+00:00", "wan_access": true }, { "connected_to": "rep1200ax", "connection_type": "WLAN", "hostname": "WKEntfeuchter", "is_connected": true, "last_activity": "2023-09-19T07:01:13.029052+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "howisurface7", "is_connected": false, "last_activity": null, "wan_access": true }, { "connected_to": "rep1200ax", "connection_type": "WLAN", "hostname": "shellyplus2pm-b8d61a8969d4", "is_connected": true, "last_activity": "2023-09-19T07:01:13.029081+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "F4B85EFA14E8-mysimplelink", "is_connected": false, "last_activity": null, "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "diskstation", "is_connected": true, "last_activity": "2023-09-19T07:01:13.029124+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "HUAWEI-P30-lite-Ubon", "is_connected": false, "last_activity": "2023-09-18T11:40:37.994233+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "dakoServFFRS7", "is_connected": true, "last_activity": "2023-09-19T07:01:13.029139+00:00", "wan_access": true }, { "connected_to": "", "connection_type": "", "hostname": "rep1200ax", "is_connected": true, "last_activity": "2023-09-18T19:03:34.904657+00:00", "wan_access": true } ], "wan_link_properties": { "NewWANAccessType": "X_AVM-DE_Cable", "NewLayer1UpstreamMaxBitRate": 52480000, "NewLayer1DownstreamMaxBitRate": 1126400000, "NewPhysicalLinkStatus": "Up", "NewX_AVM-DE_DownstreamCurrentUtilization": "1075367,67791,7113,22858,7146054,4512,23651,129199,93606,29655,6317,159401,176000,367299,327930,1020753,299734,666589,1593598,734786", "NewX_AVM-DE_UpstreamCurrentUtilization": "12993,14993,13185,28396,316105,23695,17858,53478,80708,168948,164732,165378,166347,212656,56993,117310,116268,206360,155329,187728", "NewX_AVM-DE_DownstreamCurrentMaxSpeed": 7146054, "NewX_AVM-DE_UpstreamCurrentMaxSpeed": 316105 } } } }

Bohreromir commented 10 months ago

I have the same entries in my log: config_entry-fritz-164ce08aac1e5cf55e54bf07d1455cbf.json (1).txt

llucax commented 9 months ago

I'm observing the same with gb_received with a Fritz!Box 7530 AX, should I open a new issue?

Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:288
Integration: Sensor ([documentation](https://www.home-assistant.io/integrations/sensor), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sensor%22))
First occurred: 10:45:10 (1 occurrences)
Last logged: 10:45:10
Entity sensor.frutz_gb_received from integration fritz has state class total_increasing, but its state is not strictly increasing. Triggered by state 9.4 (9.5) with last_updated set to 2023-12-31T09:43:14.790340+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+fritz%22
jaal2001 commented 9 months ago

I'm observing the same with gb_received with a Fritz!Box 7530 AX, should I open a new issue?

Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:288
Integration: Sensor ([documentation](https://www.home-assistant.io/integrations/sensor), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sensor%22))
First occurred: 10:45:10 (1 occurrences)
Last logged: 10:45:10
Entity sensor.frutz_gb_received from integration fritz has state class total_increasing, but its state is not strictly increasing. Triggered by state 9.4 (9.5) with last_updated set to 2023-12-31T09:43:14.790340+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+fritz%22

+1 here

chemelli74 commented 8 months ago

Unfortunately it's a problem in the device. Please open a ticket with AVM support so they can fix the bug and release a new firmware.

issue-triage-workflows[bot] commented 5 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.