Pulling power info from Southern Company?

Hey @Lash-L …. any idea what may have broken this with the last couple HASS updates?

I think the actual api changed. I have not had a chance to look at it unfortunately.

No problem! Appreciate you putting it together in the first place.

New version is published.

For some reason I’m getting an ‘unexpected error’. I can try it again when I get back home.


This error originated from a custom integration.

Logger: custom_components.southern_company_hacs.config_flow
Source: custom_components/southern_company_hacs/config_flow.py:45
integration: Southern Company HACS (documentation, issues)
First occurred: 5:40:16 PM (5 occurrences)
Last logged: 5:41:47 PM

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/southern_company_hacs/config_flow.py", line 45, in async_authenticate
    await sca.authenticate()
  File "/usr/local/lib/python3.12/site-packages/southern_company_api/parser.py", line 88, in authenticate
    self._request_token = await get_request_verification_token(self.session)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/southern_company_api/parser.py", line 38, in get_request_verification_token
    raise NoRequestTokenFound()
southern_company_api.exceptions.NoRequestTokenFound

Same issue here. Saw an HACS update so I figured I would give it a shot. I have never been able to get this working since I moved to HA over 1 year ago. I have georgia power and login with the same username and password on website without issue.

Okay everoyne can now give it a try with 1.0.0. It’s important you delete your old version of the integration, restart ha, update the version in hacs, then restart ha and set it up. Hopefully this works for everyone!

Sorry to report that I’m still getting the same issue after deleting, restarting, installing, restarting, then setting up.

This error originated from a custom integration.

Logger: custom_components.southern_company_hacs.config_flow
Source: custom_components/southern_company_hacs/config_flow.py:45
integration: Southern Company HACS (documentation, issues)
First occurred: 10:01:28 AM (2 occurrences)
Last logged: 10:02:23 AM

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/southern_company_hacs/config_flow.py", line 45, in async_authenticate
    await sca.authenticate()
  File "/usr/local/lib/python3.12/site-packages/southern_company_api/parser.py", line 88, in authenticate
    self._request_token = await get_request_verification_token(self.session)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/southern_company_api/parser.py", line 38, in get_request_verification_token
    raise NoRequestTokenFound()
southern_company_api.exceptions.NoRequestTokenFound

Looks like you still don’t have the right version oddly enough.

Go to file editor → Config → Custom Components → Delete southern_company_hacs. You should only have southern_company

Strange…no wonder I kept getting odd errors. Appreciate all of your help!

I just ran across project and am looking into it is it possible to install through HACS directly or do all the files have to be downloaded and installed into HA?

So did I! Installed it yesterday! Did your bill almost doubled compared to last year?? :slight_smile:
You have to copy the files from the Github repo to you HA’s custom_components foder…
Note that steps 3, 4 and the list of files need updating…replace all
southern_company_hacs to southern_company.

Is this HACK still working?
I get the login error by GS, and I know the UN/PW is correct, I am logged in to the their website in the same browser…