dmamontov / hass-miwifi

MiWiFi for Home Assistant
https://community.home-assistant.io/t/xiaomi-miwifi-component-for-tracking-devices-and-managing-routers/288734
Apache License 2.0
151 stars 14 forks source link

[BUG] device tracker stopped working in HA 2023.5 #125

Open 2pirko opened 1 year ago

2pirko commented 1 year ago

Describe the bug The device tracker stopped working after update to HA 2023.5

Please complete the following information:

Logger: homeassistant Source: custom_components/miwifi/init.py:100 Integration: MiWifi (documentation, issues) First occurred: May 8, 2023 at 19:03:41 (1 occurrences) Last logged: May 8, 2023 at 19:03:41 Error doing job: Task exception was never retrieved

Traceback (most recent call last): File "/config/custom_components/miwifi/init.py", line 100, in async_start hass.config_entries.async_setup_platforms(entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

warebytes commented 1 year ago

I have the exact same issue on Home Assistant 2023.5.4.

2pirko commented 1 year ago

Hi @warebytes , I have already uninstalatted this integration and replaced by xiaomi integration. It works well.

warebytes commented 1 year ago

Hi @2pirko, Thank you for your feedback my friend. I was able to fix MIWIFI on my system. For some reason, I have found out that Home Assistant 2023.5.4 created a folder "MIWIFI Copy" in the "custom_components" folder. All I had to do is delete this folder and reinstall MIWIFI using HACS. All is back to normal for me.