W00D00 / home-assistant-elero

Elero Centero component
GNU General Public License v3.0
39 stars 10 forks source link

Component stopped working with 2022.2 #28

Closed Notrial closed 2 years ago

Notrial commented 2 years ago

Just stopped working after the update :( Does anyone have any clues?

image

Notrial commented 2 years ago

Update: anyone having same issue, simply use forked version of the cover.py

https://github.com/dfigus/home-assistant-elero

W00D00 commented 2 years ago

Hi @Notrial,

I do not have any problem. Does your forked version same with my original version?

Notrial commented 2 years ago

It's not my fork but you will have the same problem if you update home assistant to the latest version. Some of the namings changed apparently... Look at an example below:

image

W00D00 commented 2 years ago

Ok, let's see. My HA is 2022.2.5, it is the latest version today and my Elero lib is what you can find in my repo. There is no any issue for me. However, it does not mean that you cannot experience any problem with it.

If I understand your example right, what you present, the "CoverDevice" vs "CoverEntity" was solved by the "Fix CoverDevice is deprecated wa... #12 by Daniel Figus on Jun 18 2020". So, I thing your version is not up to date.

Notrial commented 2 years ago

Hmm... I just compared your file (before you updated it today) with the one by Daniel Figus (which I saw was updated 18 days ago on his fork). So I assumed that he fixed the issues with latest HA.

Either way, all is good now :)

Notrial commented 2 years ago

I know this is not the right place for this question...but I have to ask while I have your attention, and I apologize in advance for it.

I haven't been able to implement tilting or positioning since day one.

Example of one of the covers: image

It's either open, closed or undefined.

image

If I click on any of the tilt commands, it just raised or lowers them fully. Same with choosing any percentage.

Am I missing something from the configuration, or is my adapter not supporting these options? (I have original Elero stick).

W00D00 commented 2 years ago

Hi @Notrial,

Unfortunately, you are right. The stepping of the tilt function does not work. You can find detailed reason here: https://github.com/W00D00/home-assistant-elero#cover-position-and-tilt-position-sliders