MyHOME icon indicating copy to clipboard operation
MyHOME copied to clipboard

Fix crash for unsupported dimension events

Open michnovka opened this issue 1 year ago • 7 comments

Fixes https://github.com/anotherjulien/MyHOME/issues/143

michnovka avatar Aug 30 '24 17:08 michnovka

This fixes a lot of the problems that this integrations has. It might be nice to log the error, not just pass the catch block.

@anotherjulien Are you still maintaining the project?

nachogarcia avatar Oct 04 '24 08:10 nachogarcia

Hello @michnovka! I'm having a similar problem that I think this fix doesn't address (or at least I was unable to install it)

Setup:

  1. I didn't configure all my lights in myhome.yaml (I'm using the extension mostly to control my climate)
  2. I have some dimmable lights that are not configured.

What happens: Whenever I see on the bus a message like *1*7*0504## (light at 70%) the messages stop updating.

I solved by simply configuring the lights with "dimmable: true" but I think this behaviour may be related to what you fix here.

Great work anyways!

dan-it avatar Dec 10 '24 08:12 dan-it

@dan-it Yes, I think this is related. What do you mean you were unable to install it?

michnovka avatar Dec 10 '24 08:12 michnovka

I am new to HA so I'm not sure that replacing the contents of homeassistant/custom_components/myhome/light.py and restarting HA is enough. That's what I did and it still has the same issue.

dan-it avatar Dec 10 '24 17:12 dan-it

Hi. If I would like to use this refork whats the best way to proceed. I don’t a a copy link to paste the repository into hacs. So I have to copy the differents files and paste them into HA? I tried yesterday the repository of Smf666 but have the same issues. And when I try to download the repository of Michnovka HA that it can’t download all the files. thanks for your feedback

wave68runner avatar Jan 17 '25 07:01 wave68runner

Hi. If I would like to use this refork whats the best way to proceed. I don’t a a copy link to paste the repository into hacs. So I have to copy the differents files and paste them into HA? I tried yesterday the repository of Smf666 but have the same issues. And when I try to download the repository of Michnovka HA that it can’t download all the files. thanks for your feedback

Open an issue on the fork repo. It's only a matter of uploading the distribution file, maybe Michnovka will do it. In alternative yes you can just overwrite the files but beware you also need to do it with the OWNd library as some fixes are needed there.

HA-n00b-alt avatar Jan 17 '25 08:01 HA-n00b-alt

Ownd library ?? I saw that on the anotherjulien page. But I havenever installed that. And see no files with that name in my HA config…. Do I need to install that custom repo ?

wave68runner avatar Jan 17 '25 08:01 wave68runner