zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
696 stars 640 forks source link

[BUG] Some devices lock up with error <EmberStatus.DELIVERY_FAILED: 102> #2654

Closed kylepyke closed 3 months ago

kylepyke commented 9 months ago

Bug description

Intermittently, some entities will appear as available, but HA is unable to communicate with them, giving the error "<EmberStatus.DELIVERY_FAILED: 102>". This happens every couple of days or so, and is never the same device, leading me to believe it is either a ZHA or SkyConnect issue.

Resetting the controller doesn't fix this issue, nor does re-adding the device tot the Zigbee network.

Steps to reproduce

¯\_(ツ)_/¯

Expected behavior

Devices should not lock up.

Screenshots/Video

Screenshots/Video [Paste/upload your media here]

Device signature

Device signature ```json { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4508, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=0, maximum_outgoing_transfer_size=82, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)", "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x0051", "input_clusters": [ "0x0000", "0x0003", "0x0006", "0x0702", "0x0b04", "0xff01" ], "output_clusters": [ "0x0019" ] } }, "manufacturer": "Sinope Technologies", "model": "SP2610ZB", "class": "zhaquirks.sinope.switch.SinopeTechnologiesSwitch" } ```

This is for the current non-functioning device.

Diagnostic information

Diagnostic information ```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.10.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "x86_64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "6.1.56", "supervisor": "2023.10.0", "host_os": "Home Assistant OS 11.0", "docker_version": "24.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "frigate": { "version": "5.0.0-beta.2", "requirements": [ "pytz==2022.7" ] }, "zha_toolkit": { "version": "v1.1.2", "requirements": [ "pytz" ] }, "favicon": { "version": "10.4", "requirements": [] }, "fontawesome": { "version": "2.2.1", "requirements": [] }, "dahua": { "version": "0.5.0", "requirements": [] }, "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "webrtc": { "version": "v3.4.0", "requirements": [] }, "ge_home": { "version": "0.6.7", "requirements": [ "gehomesdk==0.5.10", "magicattr==0.1.6", "slixmpp==1.8.3" ] }, "smartthinq_sensors": { "version": "0.34.0", "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "charset_normalizer>=2.0.0" ] }, "pirateweather": { "version": "1.2.3", "requirements": [ "python-forecastio==1.4.0" ] }, "linkplay": { "version": "3.1.8", "requirements": [ "async-upnp-client>=0.27", "validators~=0.12", "chardet>=4.0.0" ] }, "teamtracker": { "version": "0.1", "requirements": [ "arrow", "aiofiles" ] }, "lightener": { "version": "v2.2.0", "requirements": [] }, "weatheralerts": { "version": "0.1.5", "requirements": [] }, "wiim_custom": { "version": "0.0.1", "requirements": [ "async-upnp-client>=0.31.2", "validators~=0.12" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "universal_silabs_flasher" ], "requirements": [ "bellows==0.36.5", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.104", "zigpy-deconz==0.21.1", "zigpy==0.57.2", "zigpy-xbee==0.18.3", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.5", "universal-silabs-flasher==0.0.14", "pyserial-asyncio-fast==0.11" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_uzg-01._tcp.local.", "name": "uzg-01*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "config": { "zigpy_config": { "network": { "channel": 25, "channels": [ 15, 20, 25 ] }, "database_path": "/config/zigbee.db", "device": { "path": "/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_c02b6f0e9f18ec11b16bee9a47486eb0-if00-port0", "flow_control": "software", "baudrate": 115200 } }, "device_config": { "70:b3:d5:2b:60:01:4d:76-1": { "type": "switch" }, "70:b3:d5:2b:60:01:4d:76-2": { "type": "switch" }, "70:b3:d5:2b:60:01:4d:76-3": { "type": "switch" }, "70:b3:d5:2b:60:01:4d:76-4": { "type": "switch" }, "70:b3:d5:2b:60:01:4d:76-5": { "type": "switch" } }, "enable_quirks": true }, "config_entry": { "entry_id": "a2903d4fc181e167db073fe2a39b724a", "version": 3, "domain": "zha", "title": "SkyConnect v1.0", "data": { "device": { "path": "/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_c02b6f0e9f18ec11b16bee9a47486eb0-if00-port0", "flow_control": "software", "baudrate": 115200 }, "radio_type": "ezsp" }, "options": { "custom_configuration": { "zha_options": { "enhanced_light_transition": true, "default_light_transition": 2, "light_transitioning_flag": true, "always_prefer_xy_color_mode": true, "group_members_assume_state": true, "enable_identify_on_join": true, "consider_unavailable_mains": 7200, "consider_unavailable_battery": 21600 } } }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "usb", "unique_id": "**REDACTED**", "disabled_by": null }, "application_state": { "node_info": { "nwk": 0, "ieee": "**REDACTED**", "logical_type": 0 }, "network_info": { "extended_pan_id": "**REDACTED**", "pan_id": 63028, "nwk_update_id": 0, "nwk_manager_id": 0, "channel": 25, "channel_mask": 134215680, "security_level": 5, "network_key": "**REDACTED**", "tc_link_key": { "key": [ 90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57 ], "tx_counter": 278528, "rx_counter": 0, "seq": 0, "partner_ieee": "**REDACTED**" }, "key_table": [], "children": [], "nwk_addresses": {}, "stack_specific": { "ezsp": { "hashed_tclk": "a8c8242724b0c3a1c352dc5866c0d0c6" } }, "metadata": { "ezsp": { "manufacturer": "Nabu Casa", "board": "SkyConnect v1.0", "version": "7.1.1.0 build 273", "stack_version": 9, "can_burn_userdata_custom_eui64": true, "can_rewrite_custom_eui64": false } }, "source": "bellows@0.36.5" }, "counters": { "controller_app_counters": { "broadcast_rx": { "__type": "", "repr": "Counter(name='broadcast_rx', _raw_value=56, reset_count=1, _last_reset_value=16237)" }, "unicast_rx": { "__type": "", "repr": "Counter(name='unicast_rx', _raw_value=3606, reset_count=1, _last_reset_value=552286)" }, "unicast_tx_success": { "__type": "", "repr": "Counter(name='unicast_tx_success', _raw_value=411, reset_count=1, _last_reset_value=51772)" }, "broadcast_tx_success_unexpected": { "__type": "", "repr": "Counter(name='broadcast_tx_success_unexpected', _raw_value=58, reset_count=1, _last_reset_value=2652)" }, "broadcast_tx_failure_unexpected": { "__type": "", "repr": "Counter(name='broadcast_tx_failure_unexpected', _raw_value=0, reset_count=1, _last_reset_value=1)" }, "unicast_tx_failure": { "__type": "", "repr": "Counter(name='unicast_tx_failure', _raw_value=60, reset_count=1, _last_reset_value=19907)" }, "multicast_rx": { "__type": "", "repr": "Counter(name='multicast_rx', _raw_value=0, reset_count=1, _last_reset_value=76)" }, "multicast_tx_success_unexpected": { "__type": "", "repr": "Counter(name='multicast_tx_success_unexpected', _raw_value=0, reset_count=1, _last_reset_value=113)" }, "unicast_tx_success_unexpected": { "__type": "", "repr": "Counter(name='unicast_tx_success_unexpected', _raw_value=0, reset_count=1, _last_reset_value=5)" }, "unicast_tx_failure_unexpected": { "__type": "", "repr": "Counter(name='unicast_tx_failure_unexpected', _raw_value=0, reset_count=1, _last_reset_value=5)" }, "broadcast_tx_success": { "__type": "", "repr": "Counter(name='broadcast_tx_success', _raw_value=0, reset_count=1, _last_reset_value=1)" }, "unicast_tx_success_duplicate": { "__type": "", "repr": "Counter(name='unicast_tx_success_duplicate', _raw_value=0, reset_count=1, _last_reset_value=1)" }, "unicast_tx_failure_duplicate": { "__type": "", "repr": "Counter(name='unicast_tx_failure_duplicate', _raw_value=0, reset_count=1, _last_reset_value=4)" }, "reset_success": { "__type": "", "repr": "Counter(name='reset_success', _raw_value=1, reset_count=0, _last_reset_value=0)" } }, "ezsp_counters": { "MAC_RX_BROADCAST": { "__type": "", "repr": "Counter(name='MAC_RX_BROADCAST', _raw_value=13077, reset_count=95, _last_reset_value=2617851)" }, "MAC_TX_BROADCAST": { "__type": "", "repr": "Counter(name='MAC_TX_BROADCAST', _raw_value=753, reset_count=95, _last_reset_value=68194)" }, "MAC_RX_UNICAST": { "__type": "", "repr": "Counter(name='MAC_RX_UNICAST', _raw_value=7414, reset_count=95, _last_reset_value=1216776)" }, "MAC_TX_UNICAST_SUCCESS": { "__type": "", "repr": "Counter(name='MAC_TX_UNICAST_SUCCESS', _raw_value=4117, reset_count=95, _last_reset_value=606478)" }, "MAC_TX_UNICAST_RETRY": { "__type": "", "repr": "Counter(name='MAC_TX_UNICAST_RETRY', _raw_value=343, reset_count=95, _last_reset_value=38666)" }, "MAC_TX_UNICAST_FAILED": { "__type": "", "repr": "Counter(name='MAC_TX_UNICAST_FAILED', _raw_value=47, reset_count=95, _last_reset_value=4318)" }, "APS_DATA_RX_BROADCAST": { "__type": "", "repr": "Counter(name='APS_DATA_RX_BROADCAST', _raw_value=58, reset_count=95, _last_reset_value=16424)" }, "APS_DATA_TX_BROADCAST": { "__type": "", "repr": "Counter(name='APS_DATA_TX_BROADCAST', _raw_value=58, reset_count=95, _last_reset_value=2767)" }, "APS_DATA_RX_UNICAST": { "__type": "", "repr": "Counter(name='APS_DATA_RX_UNICAST', _raw_value=3599, reset_count=95, _last_reset_value=552188)" }, "APS_DATA_TX_UNICAST_SUCCESS": { "__type": "", "repr": "Counter(name='APS_DATA_TX_UNICAST_SUCCESS', _raw_value=411, reset_count=95, _last_reset_value=51774)" }, "APS_DATA_TX_UNICAST_RETRY": { "__type": "", "repr": "Counter(name='APS_DATA_TX_UNICAST_RETRY', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "APS_DATA_TX_UNICAST_FAILED": { "__type": "", "repr": "Counter(name='APS_DATA_TX_UNICAST_FAILED', _raw_value=60, reset_count=95, _last_reset_value=19908)" }, "ROUTE_DISCOVERY_INITIATED": { "__type": "", "repr": "Counter(name='ROUTE_DISCOVERY_INITIATED', _raw_value=77, reset_count=95, _last_reset_value=188)" }, "NEIGHBOR_ADDED": { "__type": "", "repr": "Counter(name='NEIGHBOR_ADDED', _raw_value=131, reset_count=95, _last_reset_value=21242)" }, "NEIGHBOR_REMOVED": { "__type": "", "repr": "Counter(name='NEIGHBOR_REMOVED', _raw_value=105, reset_count=95, _last_reset_value=21216)" }, "NEIGHBOR_STALE": { "__type": "", "repr": "Counter(name='NEIGHBOR_STALE', _raw_value=87, reset_count=95, _last_reset_value=14639)" }, "JOIN_INDICATION": { "__type": "", "repr": "Counter(name='JOIN_INDICATION', _raw_value=0, reset_count=95, _last_reset_value=1)" }, "CHILD_REMOVED": { "__type": "", "repr": "Counter(name='CHILD_REMOVED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "ASH_OVERFLOW_ERROR": { "__type": "", "repr": "Counter(name='ASH_OVERFLOW_ERROR', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "ASH_FRAMING_ERROR": { "__type": "", "repr": "Counter(name='ASH_FRAMING_ERROR', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "ASH_OVERRUN_ERROR": { "__type": "", "repr": "Counter(name='ASH_OVERRUN_ERROR', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "NWK_FRAME_COUNTER_FAILURE": { "__type": "", "repr": "Counter(name='NWK_FRAME_COUNTER_FAILURE', _raw_value=0, reset_count=95, _last_reset_value=10)" }, "APS_FRAME_COUNTER_FAILURE": { "__type": "", "repr": "Counter(name='APS_FRAME_COUNTER_FAILURE', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "UTILITY": { "__type": "", "repr": "Counter(name='UTILITY', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "APS_LINK_KEY_NOT_AUTHORIZED": { "__type": "", "repr": "Counter(name='APS_LINK_KEY_NOT_AUTHORIZED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "NWK_DECRYPTION_FAILURE": { "__type": "", "repr": "Counter(name='NWK_DECRYPTION_FAILURE', _raw_value=3116, reset_count=95, _last_reset_value=777011)" }, "APS_DECRYPTION_FAILURE": { "__type": "", "repr": "Counter(name='APS_DECRYPTION_FAILURE', _raw_value=2, reset_count=95, _last_reset_value=8)" }, "ALLOCATE_PACKET_BUFFER_FAILURE": { "__type": "", "repr": "Counter(name='ALLOCATE_PACKET_BUFFER_FAILURE', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "RELAYED_UNICAST": { "__type": "", "repr": "Counter(name='RELAYED_UNICAST', _raw_value=0, reset_count=95, _last_reset_value=1)" }, "PHY_TO_MAC_QUEUE_LIMIT_REACHED": { "__type": "", "repr": "Counter(name='PHY_TO_MAC_QUEUE_LIMIT_REACHED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "PACKET_VALIDATE_LIBRARY_DROPPED_COUNT": { "__type": "", "repr": "Counter(name='PACKET_VALIDATE_LIBRARY_DROPPED_COUNT', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "TYPE_NWK_RETRY_OVERFLOW": { "__type": "", "repr": "Counter(name='TYPE_NWK_RETRY_OVERFLOW', _raw_value=2, reset_count=95, _last_reset_value=149781)" }, "PHY_CCA_FAIL_COUNT": { "__type": "", "repr": "Counter(name='PHY_CCA_FAIL_COUNT', _raw_value=187, reset_count=95, _last_reset_value=9410)" }, "BROADCAST_TABLE_FULL": { "__type": "", "repr": "Counter(name='BROADCAST_TABLE_FULL', _raw_value=43, reset_count=95, _last_reset_value=685163)" }, "PTA_LO_PRI_REQUESTED": { "__type": "", "repr": "Counter(name='PTA_LO_PRI_REQUESTED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "PTA_HI_PRI_REQUESTED": { "__type": "", "repr": "Counter(name='PTA_HI_PRI_REQUESTED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "PTA_LO_PRI_DENIED": { "__type": "", "repr": "Counter(name='PTA_LO_PRI_DENIED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "PTA_HI_PRI_DENIED": { "__type": "", "repr": "Counter(name='PTA_HI_PRI_DENIED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "PTA_LO_PRI_TX_ABORTED": { "__type": "", "repr": "Counter(name='PTA_LO_PRI_TX_ABORTED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "PTA_HI_PRI_TX_ABORTED": { "__type": "", "repr": "Counter(name='PTA_HI_PRI_TX_ABORTED', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "ADDRESS_CONFLICT_SENT": { "__type": "", "repr": "Counter(name='ADDRESS_CONFLICT_SENT', _raw_value=0, reset_count=95, _last_reset_value=0)" }, "EZSP_FREE_BUFFERS": { "__type": "", "repr": "Counter(name='EZSP_FREE_BUFFERS', _raw_value=254, reset_count=95, _last_reset_value=0)" } } }, "broadcast_counters": {}, "device_counters": {}, "group_counters": {} }, "energy_scan": { "11": 33.860880820104335, "12": 36.830390267097734, "13": 85.82097888710312, "14": 84.164247274957, "15": 52.75969252664325, "16": 52.75969252664325, "17": 52.75969252664325, "18": 46.26944564832987, "19": 49.512515447068886, "20": 39.90320178295578, "21": 43.057636198227904, "22": 55.9836862725909, "23": 10.914542804728702, "24": 55.9836862725909, "25": 43.057636198227904, "26": 46.26944564832987 }, "versions": { "bellows": "0.36.5", "zigpy": "0.57.2", "zigpy_deconz": "0.21.1", "zigpy_xbee": "0.18.3", "zigpy_znp": "0.11.5", "zigpy_zigate": "0.11.0", "zhaquirks": "0.0.104" } } } ```

Logs

Could be this:

Logs ```python [140397651165632] Error handling message: Unknown error (unknown_error) NAME from 192..xxx.x.xx (Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.7 (io.robbie.HomeAssistant; build:2023.471; iOS 16.6.1) Mobile/HomeAssistant, like Safari) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py", line 340, in websocket_permit_devices await zha_gateway.application_controller.permit(time_s=duration, node=ieee) File "/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py", line 877, in permit await super().permit(time_s, node) File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 1140, in permit await zigpy.zdo.broadcast( File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 519, in broadcast return await app.broadcast( ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 916, in broadcast await self.send_packet( File "/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py", line 851, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to enqueue message after 3 attempts: ```

Or this:

Logs ```python Logger: homeassistant.components.zha.core.cluster_handlers Source: components/zha/core/cluster_handlers/__init__.py:537 Integration: Zigbee Home Automation ([documentation](https://www.home-assistant.io/integrations/zha), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+zha%22)) First occurred: October 15, 2023 at 11:18:20 AM (15 occurrences) Last logged: 10:50:56 AM [0x83C5:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: ')] [0x83C5:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: ')] [0x893E:1:0x0b04]: async_initialize: all attempts have failed: [TimeoutError(), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: ')] [0x893E:1:0x0702]: async_initialize: all attempts have failed: [TimeoutError(), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: ')] [0x893E:1:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: '), DeliveryError('Failed to deliver message: ')] ```

Or this?

Logs ```python Logger: homeassistant.components.sensor.recorder Source: components/sensor/recorder.py:297 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:50:10 AM (3 occurrences) Last logged: 10:55:10 AM Entity sensor.sinope_technologies_sp2610zb_summation_delivered_2 from integration zha has state class total_increasing, but its state is not strictly increasing. Triggered by state 18.679 (18.791) with last_updated set to 2023-10-17T15:49:58.285887+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22 Entity sensor.sinope_technologies_sp2610zb_summation_delivered_4 from integration zha has state class total_increasing, but its state is not strictly increasing. Triggered by state 5.5 (5.542) with last_updated set to 2023-10-17T15:49:58.198782+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22 Entity sensor.sinope_technologies_sp2610zb_summation_delivered_5 from integration zha has state class total_increasing, but its state is not strictly increasing. Triggered by state 16.929 (17.008) with last_updated set to 2023-10-17T15:50:05.175305+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22 ```

Lastly, maybe this?

Logs ```python Logger: homeassistant.components.sensor Source: helpers/entity_platform.py:857 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: October 16, 2023 at 7:00:23 AM (11 occurrences) Last logged: 7:00:25 AM Updating amcrest sensor took longer than the scheduled update interval 0:00:10 Updating zha sensor took longer than the scheduled update interval 0:00:30 ```

Additional information

No response

github-actions[bot] commented 3 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 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.