core: FRITZ!Box Tools: AttributeError: ‘FritzStatus’ object has no attribute ‘get_device_info’
The problem
Hi,
I’m using Archlinux with Python 3.10 and the Fritzbox Tools doesn’t work anymore. Has anyone any kind of an idea?
Logger: homeassistant.config_entries
Source: components/fritz/common.py:210
First occurred: 07:53:00 (1 occurrences)
Last logged: 07:53:00
Error setting up entry FRITZ!Box 7590 for fritz
Traceback (most recent call last):
File "/home/dominion/.local/lib/python3.10/site-packages/homeassistant/config_entries.py", line 365, in async_setup
result = await component.async_setup_entry(hass, self)
File "/home/dominion/.local/lib/python3.10/site-packages/homeassistant/components/fritz/__init__.py", line 30, in async_setup_entry
await avm_wrapper.async_setup(entry.options)
File "/home/dominion/.local/lib/python3.10/site-packages/homeassistant/components/fritz/common.py", line 184, in async_setup
await self.hass.async_add_executor_job(self.setup)
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/dominion/.local/lib/python3.10/site-packages/homeassistant/components/fritz/common.py", line 210, in setup
info = self.fritz_status.get_device_info()
AttributeError: 'FritzStatus' object has no attribute 'get_device_info'
Greetings dominion
What version of Home Assistant Core has the issue?
core-2022.11.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
fritz
Link to integration documentation on our website
https://www.home-assistant.io/integrations/fritz/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 24 (12 by maintainers)
I was able to solve the problem by deleting the fritz component in HA, deleting all fritz folders under “.local/lib/python3.10/site-packages/*” and then restarting HA.
here comes the output: