Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2G-Liberty does not handle Home Assistant restarts #72

Open
rhpijnacker opened this issue Sep 10, 2024 · 5 comments
Open

V2G-Liberty does not handle Home Assistant restarts #72

rhpijnacker opened this issue Sep 10, 2024 · 5 comments

Comments

@rhpijnacker
Copy link
Collaborator

Since I am using HA for other things than just V2G-Liberty, I regularly (have to) restart HA after updating e.g. HACS components.
With every restart V2G-Liberty looses the connection to HA.
It would be nice if it would automatically reconnect without interrupting the dis-/charging session in progress.

@rhpijnacker
Copy link
Collaborator Author

rhpijnacker commented Sep 10, 2024

After digging around it seems that the way to fix this is to add an extra line to the apps.yaml for every component:

    plugin: HASS

See Plugin Reloads for more details.

@ArdJonker
Copy link
Contributor

Thanks for researching this. Did you test already?
If you get good results i'll add it to the next version.

@rhpijnacker
Copy link
Collaborator Author

I did test this, and it looks like adding the plugin directive makes little difference.

@ArdJonker
Copy link
Contributor

Should this issue be kept open?

@rhpijnacker
Copy link
Collaborator Author

Yes, please. It would nice if V2G-Liberty recovers nicely fromHA restarts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants