Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while processing event #673

Open
stamatakisa opened this issue Oct 6, 2024 · 0 comments
Open

Error while processing event #673

stamatakisa opened this issue Oct 6, 2024 · 0 comments

Comments

@stamatakisa
Copy link

Error while processing event <Event state_changed[L]: entity_id=device_tracker.2783636116, old_state=None, new_state=<state device_tracker.2783636116=home; source_type=router, ip=192.168.88.29, mac=E8:FD:F8:48:1E:98, host_name=2783636116, attribution=Data provided by Mikrotik, interface=bridge, source=dhcp, last_seen=Now, icon=mdi:lan-connect, friendly_name=inverter_deye @ 2024-10-06T15:28:57.520829+03:00>> for domain device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 608, in _async_dispatch_domain_event
hass.async_run_hass_job(job, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 937, in async_run_hass_job
hassjob.target(*args)
File "/usr/src/homeassistant/homeassistant/components/dhcp/init.py", line 377, in _async_process_device_event
self._async_process_device_state(event.data["new_state"])
File "/usr/src/homeassistant/homeassistant/components/dhcp/init.py", line 397, in _async_process_device_state
self.async_process_client(ip_address, hostname, mac_address)
File "/usr/src/homeassistant/homeassistant/components/dhcp/init.py", line 234, in async_process_client
and data[HOSTNAME].startswith(hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'startswith'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant