You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I unplug my fan and then plug it back in, connections never recover. This seems to be related to bad parsing of the "pact" data, expecting an integer but receiving 'INIT'.
Changing line #125 of dyson_pure_state.py to the following seems to allow for an eventual reconnection:
self._dust = 0 if self.__get_field_value(data, 'pact')=='INIT' else int(self.__get_field_value(data, 'pact'))
I'm not sure if setting dust to 0 is the right thing to do, or if there is some other value that makes more sense during the intialization phase.
The text was updated successfully, but these errors were encountered:
When I unplug my fan and then plug it back in, connections never recover. This seems to be related to bad parsing of the "pact" data, expecting an integer but receiving 'INIT'.
Changing line #125 of dyson_pure_state.py to the following seems to allow for an eventual reconnection:
self._dust = 0 if self.__get_field_value(data, 'pact')=='INIT' else int(self.__get_field_value(data, 'pact'))
I'm not sure if setting dust to 0 is the right thing to do, or if there is some other value that makes more sense during the intialization phase.
The text was updated successfully, but these errors were encountered: