abmantis / whirlpool-sixth-sense

Whirlpool unofficial API for 6th Sense appliances
MIT License
13 stars 12 forks source link

Eventsocket restart does not update fetch_data #16

Closed mkmer closed 1 year ago

mkmer commented 1 year ago

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".

abmantis commented 1 year ago

Fixed by #13