When the eventsocket is disconnected then reconnects, there is no mechanism to update the data for missed events.
Whenever the eventsocket reconnects, it should call fetch_data (or something like it) to get a fresh _data_dict and trigger a callback to HA to cover any missed events while the socket was "away".
When the eventsocket is disconnected then reconnects, there is no mechanism to update the data for missed events.
Whenever the eventsocket reconnects, it should call fetch_data (or something like it) to get a fresh _data_dict and trigger a callback to HA to cover any missed events while the socket was "away".