After 2023.4.1 update, I had many log errors like this:
2023-04-08 14:57:05.933 ERROR (MainThread) [homeassistant.util.logging] Exception in _async_process_device_data when dispatching 'device_tracker_connected_device_registered': ({'ip': '', 'mac': '40:62:31:08:fd:11', 'host_name': None},)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/dhcp/__init__.py", line 376, in _async_process_device_data
self.async_process_client(ip_address, hostname, _format_mac(mac_address))
File "/usr/src/homeassistant/homeassistant/components/dhcp/__init__.py", line 157, in async_process_client
made_ip_address = make_ip_address(ip_address)
File "/usr/local/lib/python3.10/ipaddress.py", line 54, in ip_address
raise ValueError(f'{address!r} does not appear to be an IPv4 or IPv6 address')
ValueError: '' does not appear to be an IPv4 or IPv6 address
2023-04-08 14:57:06.010 ERROR (MainThread) [homeassistant.helpers.event] Error while processing event <Event state_changed[L]: entity_id=device_tracker.brother_mfc_8890dw, old_state=None, new_state=<state device_tracker.brother_mfc_8890dw=home; source_type=router, ip=, mac=00:1b:a9:17:b3:5a, is_guest=False, note=, name=Brother MFC-8890DW, oui=BrotherI, friendly_name=Brother MFC-8890DW RX Brother MFC-8890DW @ 2023-04-08T10:57:05.950002-04:00>> for domain device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 431, in _async_dispatch_domain_event
hass.async_run_hass_job(job, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 593, in async_run_hass_job
hassjob.target(*args)
File "/usr/src/homeassistant/homeassistant/components/dhcp/__init__.py", line 318, in _async_process_device_event
self._async_process_device_state(event.data["new_state"])
File "/usr/src/homeassistant/homeassistant/components/dhcp/__init__.py", line 338, in _async_process_device_state
self.async_process_client(ip_address, hostname, _format_mac(mac_address))
File "/usr/src/homeassistant/homeassistant/components/dhcp/__init__.py", line 157, in async_process_client
made_ip_address = make_ip_address(ip_address)
File "/usr/local/lib/python3.10/ipaddress.py", line 54, in ip_address
raise ValueError(f'{address!r} does not appear to be an IPv4 or IPv6 address')
ValueError: '' does not appear to be an IPv4 or IPv6 address
All of them have ValueError: '' does not appear to be an IPv4 or IPv6 address
. While each of the message make reference to a components/dhcp
, I donāt see a DHCP integration so I suspect this is from my UniFi Network Integration.