Esphome entities not always updating in Homeassistant

I use esphome 2024.11.1 esp-idf on one of my devices.
This device has over 260 entitties. but now I found sometimes that binary sensors are not always updating in HA, when I go to the esphome device webinterface the value is ok. but in HA the value is different and incorrect.

could I do something to make sure all binary state updates are handled correctly?

Logs demonstrating the error please.

there is no log as no status update has been triggered
but here is a screenshot from this afternoon showing the value in HA and the value in ESPHome are different

Had several similar cases - missed values/states from sensors, swicthes, …

One was related with WiFi - many devices stopped to report, as well OTA fails with timeout.
Fixed by channel change.

Another one was on device with 89 entities. While other devices, including located in centimeters from problematic one, experienced no issues.
Fixed by changing logging level from DEBUG to INFO.
FYI supply voltage fluctuations before & right after same YAML compiled with reduced logging:
Screenshot 2024-11-27 VCC debug - no debug
So far see no more losses in reporting states to HA - sensors, switches, …

1 Like

thnx I will try reducing the log level, this could be it.

Unfortunately, in my case, again states of binary sensors disappears again.
Will try to get something usefull directly from device through UART cause nothing in log on HA side.

In my environment this issue noticed for only device - ESP-WROOM-32 with arduino framework 2024.10.1. BTW IMHO issue started recently.