I'm currently in HA core beta, and was looking for other bugs but ended up noticing that hass.agent does something that's not very efficient on the home assistant side, it sends the discovery payload on every update for every sensor which cost CPU time on HA.
For example
4-02-28 15:45:46.785 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor ANTO_HP a2c6a82f-f7a9-4e48-aa6e-2e47c3df05ce_total_disk_count, sending update
4-02-28 15:45:46.785 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor ANTO_HP a2c6a82f-f7a9-4e48-aa6e-2e47c3df05ce_total_disk_count, sending update
I reported the exact same thing for another integration and you may want to read this here:
Describe the bug Working with @bdraco, we were hunting down what is causing some extra overhead on my system (RPi4 4Gb/HAOS) and discovered that ecowitt2mqtt seems to be flooding HA with MQTT disco...