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

Light Status incorrect #158

Open
GH-ChristianHauser opened this issue Jan 3, 2025 · 7 comments
Open

Light Status incorrect #158

GH-ChristianHauser opened this issue Jan 3, 2025 · 7 comments

Comments

@GH-ChristianHauser
Copy link

Hello Julien,

first of all, i want to thank you for your impressive work! I really love to use your integration on my Home Assistant, but I'm facing an issue regullary. I created a Dashboard with all Light Switches from my MyHomeServer1. After a while the Dashboard starts showing wrong Statuses for my lights. It seems like the Light-On Status is stucked and it shows that the Light is on, also if its Off. If I try to switch it off via Dashboard it automatecally jumps back to On. The only solution I found so far is to reload only the MyHome Integration.

At the moment I'm thinking about a automatic reload script once a hour, but this seems more like a workaround as a solutions.

Have you ever faced this issue? is their any solutions so far?

Kind regards,
Christian

@zltigo
Copy link

zltigo commented Jan 6, 2025

#135
There is no solution, and it is completely out of control :(.

@N-Soares
Copy link

N-Soares commented Jan 6, 2025

There are pull requests that solve that problem #145

@zltigo
Copy link

zltigo commented Jan 6, 2025

There are pull requests that solve that problem #145

In my case, all these solutions do not work :(.

@GH-ChristianHauser
Copy link
Author

There are pull requests that solve that problem #145

Hi N-Soares, thanks for your recommendation, but unfortunately I didn't get it, how to "activate" the pull-requests. Could you please help me out, so i could try this solution.

@N-Soares
Copy link

N-Soares commented Jan 7, 2025

There are some ways you could do it. View the pull request, change the code on your local HA with the changed code. In this case by editing custom_components/myhome/light.py

Another way to do it, is to see the clones from project that the GIT user made and download their files (or point to it when installing the custom component). You have to keep in mind that fork isn't supported.

@GH-ChristianHauser
Copy link
Author

There are some ways you could do it. View the pull request, change the code on your local HA with the changed code. In this case by editing custom_components/myhome/light.py

Another way to do it, is to see the clones from project that the GIT user made and download their files (or point to it when installing the custom component). You have to keep in mind that fork isn't supported.

Oh, I just realized that pull requests refers to the menu item on github. lol ... To be honest, I know even less about github than I do about homeassistant. ... thanks to your explanation, I found the files, was able to download them, and stored them in home assistant. Let's see if that solves the problem for me or if I have to stick with my reload workaround.

@GH-ChristianHauser
Copy link
Author

I tried it for the last 3 days. Unfortunately, it still didn't work reliably. I changed the files back to their original state and went back to my workaround reload variant. ... Original problem still exists.

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

3 participants