I have following error in my logs and can’t figure out what it is about:
Logger: homeassistant.components.rest
Source: components/rest/data.py:60
Integration: RESTful (documentation, issues)
First occurred: 6:29:26 PM (1 occurrences)
Last logged: 6:29:26 PM
Unexpected error fetching rest data data: Invalid type for url. Expected str or httpx.URL, got <class 'NoneType'>: None
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 191, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 150, in _async_update_data
return await self.update_method()
File "/usr/src/homeassistant/homeassistant/components/rest/data.py", line 60, in async_update
response = await self._async_client.request(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1514, in request
request = self.build_request(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 344, in build_request
url = self._merge_url(url)
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 374, in _merge_url
merge_url = URL(url)
File "/usr/local/lib/python3.9/site-packages/httpx/_urls.py", line 102, in __init__
raise TypeError(
TypeError: Invalid type for url. Expected str or httpx.URL, got <class 'NoneType'>: None
I have deactivated all my custom REST sensors in the configuration. Hence, I don’t think it’s related to my own stuff. But where to start to dig for the issue?
Thanks for your input