-
Notifications
You must be signed in to change notification settings - Fork 11
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
set_override not working #307
Comments
I have an issue that may be related to this one. This is the config from
The error:
It seems the script takes wrong connection from I remember when I configured the plugin I've got two OpenEVSE devices (even though I have one), then I remove that one or disabled (don't remember), then I was getting this weird error that I didn't know what it was - it had the id of that connection that was not configured. Now I edited it out from core.devices_registry but maybe it will help someone else. |
Please do not edit |
The following service call doesn't work (any more - it used to):
It results in:
I have utility meter helpers associated with the OpenEVSE device, and found the
ea1027847f4fd53570e7268f7bbbf7f2
ID is one of the utility meters. Looking into the device_registry, I've noticed that this entity ID is the first in the list of config_entries (the OpenEVSE ID is8edefc891bd4052fc70db0efe3d6bb8a
):My best guess is that the integration falls over here: https://github.com/firstof9/openevse/blob/main/custom_components/openevse/services.py#L141
I think instead of always using the first item in the config_entries list, it needs to loop through the list and identify the actual OpenEVSE device/entity. I don't know how to do that, though.
The text was updated successfully, but these errors were encountered: