Open TASSDevon opened 3 years ago
Mmm I see... can you please try PR #12 and tell me if it fixes the issue? Thank you
Initilizing res
to None
probably will only change the error: as soon as the execution passes through the exception branch and reaches the code
_LOGGER.debug("BEARER RESPONSE CODE: %s", res.status_code)
the res
has no status_code
attribute because it is None
.
AttributeError: 'NoneType' object has no attribute 'status_code'
See #18 for a viable workaround.
Getting a couple of the following errors, latest integration version:
HA data:
System Health
Home Assistant Community Store
GitHub API | ok -- | -- Github API Calls Remaining | 4907 Installed Version | 1.15.2 Stage | running Available Repositories | 886 Installed Repositories | 15Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okLovelace
dashboards | 4 -- | -- resources | 9 views | 29 mode | storageSpotify
api_endpoint_reachable | ok -- | --