-
Notifications
You must be signed in to change notification settings - Fork 11
IndexError: list index out of range #7
Comments
FYI: I'm not a coder but know enough to be dangerous. I found that my account returns 3 accounts; 2 of which are cancelled because we used to have gas with Contact but don't anymore.
So I changed line 74 and 75 (on my local instance) to the following...
So now it logs in but no data is returned...
At this point I'm well out of my depth! Cheers, Tim |
Ah sorry that’s right. This integration does not have a config flow. I will need to do a serious rewrite. Let me get back to you on this. |
If it helps I've been playing around with the API today in PowerShell and stumbled upon this where he pulls the account information from a different endpoint. If I access my account information at /accounts/v2 then none of the above "cancelled" accounts get pulled. |
Did anything ever come of this? I have Electricity and Gas with Contact, and at todays prices it'd be great if I could have this information in HA :) |
Hi there,
I've added your add-one via HACs and fired it up. Unfortunately it doesn't appear to start correctly but rather logs the following..
Any idea what might be causing this? More than happy to assist troubleshooting.
Cheers, Tim
The text was updated successfully, but these errors were encountered: