-
Notifications
You must be signed in to change notification settings - Fork 159
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
Broken after update to HA 2024.2.0 #693
Comments
Please check and provide error log |
Sorry, not very firm with the LOG thingy, this helpful? home-assistant_smartthinq_sensors_2024-02-08T08-40-38.299Z.log |
Seems that there are something wrong in your env that cause the config flow to not load. |
I got the same problem. |
Again, as I explain at the beginning of this thread this problem is related to outdated version of pip, not the integration. You need to fix this or the config flow will never start. |
I reverted to 2024.1.6 and all is well again... So how do I update PIP? |
Depend on the environment that you have. In the link that I provide there are the instruction for venv, I don't know which king of HA envirnoment you re using |
I am running HA in a PROXMOX VM. |
Ok, I will take a deeper look to the version of PYCountry used and if exist new version |
Think that I found the issue. Is new versions of |
Please try last release, should work properly with Python 3.12 and HA 2024.2 |
Hello ollo69, |
I do not exactly understand the relation, unless also that integration is using I close this. |
It works in HA docker container as well. Tnx |
Initially it worked fine (I tried to change the temperature, and it was updated in LG app as well), but then I rebooted my server, and now I have this:
EDIT: |
good to know that it works, but my suspect is that there is another integration that force installation of newer |
You where right, the problem is back as of today. I did not install or update anything, but still... |
Because you said that my change also fix Garmin integration, you could try to disable that to see if it is the cause. |
I disabled GARMIN, no change. Uninstalled GARMIN, no change. For me, LGE-Sensors is still not working... |
Try disabling also other integration, quite sure that this is not an issue on this integration. |
Uhm, quite strange that pycountry is not installed at all. And if you install it with command |
|
Uhm, I suspect that HA is running inside a |
HA is running in a PROXMOX VM. I'm an old guy (68) and am just a user. I guess I will just wait and see what happens. I am very surprised, that there are not more people that have this problem. Thank you for your time!!! |
I executed the following commands inside my HA docker container: https://stackoverflow.com/a/77364602 Now it works after every reboot. Since I have dockerized version of Home Assistant, I would expect that all changes I make in the Docker container disappear after a restart, but for some reason it works. Currently, I really don't have time to delve deeper into this, but after I implemented the suggestions provided in the Stack Overflow answer, things started working correctly. |
.. unfortunately, my knowledge is nowhere close to even try to implement this!!! |
That is my screenshot... Did not work. |
yes, I just used is as a reference to show where to run the commands from stack overflow answer.
|
Sorry but I really have no idea on what could be the problem. I have Python 3.12 and HA 2024.2.1 and everything work properly. are you sure that the problem is the same reported at beginning of this thread? As last option you could try to install the native component |
I reopen this issue, let's see if others have same issue. |
Have the same issue. Running on HASSOS/VM on TrueNAS Scale. |
I suggest you to disable all custom integration and try again. If still doesn't work, you can ask support to HA team because this is a native integration. But probably something is broken in your HA installation. |
Very, very strange. I installed HA on PROXMOX and then installed my back-up. After all was said and done, the error is gone. After restarting HA, it is back.... I am going crazy!!!! I set up HA from scratch and started adding add-ons. All was well for hours and then it was not. The error is back. LQ does not like something, do not know hat. Went back and uninstalled one add-on at a time and did a boot (PROXMOX). I guess once the error shows, nothing seems to make it go away. |
Mine was broken! But it's fixed now by itself! Not sure what fixed it! |
I have a integration that is called TANKERKÖNIG (checks gasoline prices) which gives me a "internal server 500 error" most of the day. In the morning, it works just fine. Still have not figured out why this is so. Maybe it does not like a HA restart / boot? I am hoping, just as it happened for countrock, that it will go away by itself at some point... |
With todays update to 2024.2.2 it is working again... Unfortunately not!! Worked and then gone again... |
So at the end was not integration issue.😉. |
Just wanted to let you know, that I found the problem and it was SOLARFOCUS. This is what I wrote the developer: |
good catch! |
Hi, |
Updated to 2024.4.0.dev20240319 and the issue is back. I'm using Home Assistant Operating System 12.2.dev20240313. Looking at the screenshots above, wouldn't we need to be inside of the docker container that core is running in to install pycountry? |
Problem is back. The thing is, after updating HA core to next version problem is gone untill HA restart. After restart problem is back untill next core update. Looks like some dependencies regarding 'pycountry ' are being reinstalled every restart. |
This is being tracked in issue 725. I edited manifest.json at the location \\homeassistant.local\config\homeassistant\custom_components\smartthinq_sensors to say pycountry>23.0.0 and it seems to be working now. The version has to be greater than 23.0.0 for the new beta versions. |
Home assistant seems to have constrained pycountry to >23.12.11 two weeks ago. This custom integration constrains pycountry to pycountry<23.0.0,>=22.1.10 You can't be >23.12.11 and <23.0.0. I suspect that is the problem. |
Describe the bug
Integration does not load after todays HA update to 2024.2.0
Expected behavior
Screenshots
Environment details:
Output of HA logs
Additional context
Worked fine up to the HA update
The text was updated successfully, but these errors were encountered: