This has been asked before and no satisfactory explanation has ever been given.
How do I work out what the heck is causing this error to occur up to 90 times a second?
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512
2019-12-30 23:24:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140145700964624] Client exceeded max pending messages [2]: 512