Closed
Description
The problem
Sometimes AssertionError
related to async_upnp_client.ssdp_listener
appears in my log.
What version of Home Assistant Core has the issue?
core-2022.11.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
ssdp
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ssdp/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2022-11-03 04:14:29.485 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/async_upnp_client/search.py", line 96, in _async_on_data
await self.async_callback(headers)
File "/usr/local/lib/python3.10/site-packages/async_upnp_client/ssdp_listener.py", line 551, in _on_search
) = self._device_tracker.see_search(headers)
File "/usr/local/lib/python3.10/site-packages/async_upnp_client/ssdp_listener.py", line 302, in see_search
ssdp_device, new_location = self._see_device(headers)
File "/usr/local/lib/python3.10/site-packages/async_upnp_client/ssdp_listener.py", line 410, in _see_device
new_location = location_changed(ssdp_device, headers)
File "/usr/local/lib/python3.10/site-packages/async_upnp_client/ssdp_listener.py", line 243, in location_changed
new_ip_version = ip_version_from_location(new_location)
File "/usr/local/lib/python3.10/site-packages/async_upnp_client/ssdp_listener.py", line 223, in ip_version_from_location
assert hostname
AssertionError
### Additional information
_No response_