Closed gosoares closed 11 months ago
Did you test this?
Removing the Borg function breaks the app last time I checked cuz it's how the program saves the state.
Yes, it's working perfectly here. Maybe it was used before and not anymore? Because the only state that is being used is the one inside the HomeAssistant object that is recreated in each handler.
Ill do some more testing just to make sure. Its a lot of changes.
This breaks a hole set of features. Closing PR
I found some duplicated and unnecessary code, and removed it:
HomeAssistant
:clear_state
,get_ha_state
,_handle_response
LaunchRequestHandler
Borg
class was unused_handle_response
had a if that was always True, and was unnecessary to suppress the okay at the end.