-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
The problem
I am in Tulsa, OK and using Public Service Company of Oklahoma (PSO). This integration has been working well for me for a while. I had a short period of time where it wasn't accepting credentials, but that resolved itself. Now I am getting another error with the integration failing to load at all. I have restarted the HA server and disabled/enabled the integration with no luck.
What version of Home Assistant Core has the issue?
core-2025.4.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Opower
Link to integration documentation on our website
https://www.home-assistant.io/integrations/opower
Diagnostics information
home-assistant_opower_2025-05-05T19-02-53.061Z.log
Example YAML snippet
Anything in the logs that might be useful for us?
Logger: homeassistant.components.opower.coordinator
Source: helpers/update_coordinator.py:380
integration: Opower (documentation, issues)
First occurred: 8:19:11 AM (250 occurrences)
Last logged: 1:49:52 PM
Unexpected error fetching Opower data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/opower/coordinator.py", line 90, in _async_update_data
await self.api.async_login()
File "/usr/local/lib/python3.13/site-packages/opower/opower.py", line 200, in async_login
self.access_token = await self.utility.async_login(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.session, self.username, self.password, self.optional_mfa_secret
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/opower/utilities/aepbase.py", line 122, in async_login
return str(token_data[0]["data"]["AccessToken"])
~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable
Additional information
No response