I’m having an issue whereby all sensors are unavailable, when I first set the integration up, all was well, and the sensors mirrored strava info, however, having done a few activities since set up I noticed that the sensors were not updating, so I tried to reload the integration, still nothing. I then restarted HAS and all sensors became unavailable. After that I tried to remove the integration, remove access within strava and set it all up again. No matter how many times I try this, the sensors are all unavailable despite successful install. Any ideas?
EDIT:
Further to this, I realise that it’s trying to connect to an old domain I used to use for my external access (redacted in code below).
I don’t know how to resolve that!
Traceback (most recent call last):
File "/config/custom_components/ha_strava/__init__.py", line 781, in strava_startup_functions
await renew_webhook_subscription(
File "/config/custom_components/ha_strava/__init__.py", line 630, in renew_webhook_subscription
callback_response = await websession.get(url=config_data[CONF_CALLBACK_URL])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1187, in _create_direct_connection
raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host XXXXX.ml:443 ssl:default [Name does not resolve]
FURTHER EDIT: Solved this myself, it seems that at some point I’d commented out the external_url in my config file and although I’d since changed the value of it in the secrets.yaml it obviously never got propagated through, although why the reference to the original domain was still hanging round, I don’t know.