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
{{ message }}
Repository navigation
Add support for multiple accounts in Eversource #203
Hi, Currently the eversource code only supports account[0] (hardcoded [0])
In my case, the account[0] is dormant gas account and return null instead a jwt token.
account[1] and account[2] are active electric accounts and can return data when i clone this repo, compile and modify that line.
I do see some sort of support for multiple accounts in some utilities (when i search 'multiple accounts' on github search)
So, I am hoping this can be added?
Or may be a way to provide the account number we care about directly in the UI onboard itself
Fixed in 0.22.2 (#222). Login no longer uses only accounts[0]. It tries each account in order and uses the first one that issues an Opower token, so a closed or dormant first account no longer breaks login.
The token should cover all accounts on the login, because the accounts are then listed through the Opower API. However, this was only tested live with a single account. @blitz79 and @ds-haos-hacs58, your setups are exactly the case this is for. Could you try 0.22.2 and confirm that all your active accounts show up? If any are missing, please reopen.
I have an issue with the Gas section. The Opower integration is able to see both the Electric and the Gas accounts, only the Electric returns any Consumption or Cost data.
Not sure if this is an issue with Eversource or with the integration, but I wanted to give you my results.
Activity
ds-haos-hacs58 commentedon Jul 19, 2026
I have the exact same problem as OP
account[0] - closed electrical account
account[1] - active gas account
account[2] - active electrical account
Eversource: fix login failing on closed/dormant accounts (#222)
tronikos commentedon Oct 3, 2026
Fixed in 0.22.2 (#222). Login no longer uses only
accounts[0]. It tries each account in order and uses the first one that issues an Opower token, so a closed or dormant first account no longer breaks login.The token should cover all accounts on the login, because the accounts are then listed through the Opower API. However, this was only tested live with a single account. @blitz79 and @ds-haos-hacs58, your setups are exactly the case this is for. Could you try 0.22.2 and confirm that all your active accounts show up? If any are missing, please reopen.
Closing for now.
ds-haos-hacs58 commentedon Oct 4, 2026
I tried adding the Opower integration, but I get the following error message when I enter the credentials:
"Unknown error occurred"
I am able to log into my Eversource account using the same credentials...
tronikos commentedon Oct 4, 2026
Fix will be in Home Assistant 2026.10.0 that will be released in 3 days.
ds-haos-hacs58 commentedon Oct 8, 2026
After the HA update, it is working correctly - I am able to log in via HA and I see the electric and gas accounts. Thank you very much!
ds-haos-hacs58 commentedon Oct 12, 2026
Hi,
I have an issue with the Gas section. The Opower integration is able to see both the Electric and the Gas accounts, only the Electric returns any Consumption or Cost data.
Not sure if this is an issue with Eversource or with the integration, but I wanted to give you my results.
Thanks again!