Hi community!
I keep noticing in my HA logs entries like this:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:216
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 14:42:07 (6 occurrences)
Last logged: 16:46:10
[140121103026112] admin_user from 192.168.1.126 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36): Client unable to keep up with pending messages. Reached 4096 pending messages. The system's load is too high or an integration is misbehaving; Last message was: b'{"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"update.zha_network_card_update","old_state":null,"new_state":{"entity_id":"update.zha_network_card_update","state":"off","attributes":{"auto_update":false,"display_precision":0,"installed_version":"b6b05fa","in_progress":false,"latest_version":"b6b05fa","release_summary":null,"release_url":"https://github.com/dmulcahey/zha-network-card","skipped_version":null,"title":null,"update_percentage":null,"friendly_name":"Zha Network Card update","supported_features":23},"last_changed":"2025-12-22T12:42:09.143087+00:00","last_reported":"2025-12-22T12:42:09.143087+00:00","last_updated":"2025-12-22T12:42:09.143087+00:00","context":{"id":"01KD319NBQ29C7A9M2J08N7T31","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2025-12-22T12:42:09.143087+00:00","context":{"id":"01KD319NBQ29C7A9M2J08N7T31","parent_id":null,"user_id":null}},"id":528}'
................................
I have tried various things (many suggested by ChatGPT) to reduce the load in the frontend (where I have dahsboards using button-card heavily with javascript processing, lots of entities displaying informaiton, and so onā¦) to move logic from the forntend to the backend in template sensors. I still get these log messages and sometimes HA slows down.
There are no CPU/memory spikes from what I see. It runs on a Beelink S13 mini PC, with ProxMox and HA running on a VM (4 CPU, 8 GB RAM)
I have subscribed to state_changed even in Developer tools, and counted how many events I see in a minute: approx 550, may of them from power monitoring sensors (i have a lot of Shelly power meters and plugs)
I dont know if this is considered a large number or not. ChatGPT thinks its pretty big.
I dont know what else can cause those messages and why the browser canāt keep up with them.
Any ideas what I can try next?
Thanks
