Closed cafarre closed 2 months ago
I found a temporary work-around by doing the following:
1) Make a new/additional directory in custom_components named "smartthinq_sensors.wideq" 2) Copied the contents of the "wideq" directory to the root of that new directory. 3) Restarted and everything is working with no error.
Seems to be some type of new way how the custom component loading is handled, since this has a nested structure in it.
The only difference from v0.38.7 to v0.39.0 is the change of requirement related to pycountry
module. due to some constrain in HA 2024.4, there are no change it integration structure or code.
I can only suppose some issue with other installed integrations and /or related library, I suggest to upgrade to HA 2024.4 and check if the issue is still there.
I have tried reinstalling the previous version and the problem has been solved. Then I reinstalled the latest version again and everything worked correctly. There was still some problem with the download through Hacs. Thank you all very much.
In my case, I saw the problem after upgrading HA to 2024.4. It refused to load the component and failed with the error like listed above. I did the work-around above and things were all happy. Not sure what changed in HA to cause this, but I saw it right after the upgrade.
Describe the bug After upgrade to v0.39.0 version the integration fails on startup with error:
Setup failed for custom integration 'smartthinq_sensors': Unable to import component: No module named 'custom_components.smartthinq_sensors.wideq.devices.range'
Expected behavior If applicable, a clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment details: Environment (HASSIO, Raspbian, etc): HAOS Home Assistant version installed: 2024.3.1 Component version installed: v0.39.0 Last know working version: v0.38.7 LG device type and model with issue: NA LG devices connected (list): NA
Output of HA logs
Additional context Add any other context about the problem here.