FreshlyBrewedCode / hacs-homee

a Home Assistant custom component to integrate the homee smart home platform
MIT License
18 stars 6 forks source link

Wrong position display after update V2.5 #41

Closed Lu6413 closed 1 year ago

Lu6413 commented 1 year ago

Type of problem

Version

v2.5

Detailed description

After the update to V2.5, the position 99% is displayed for all shutters, no matter in which position they actually are.

Error log

no error logs

Taraman17 commented 1 year ago

Can you provide some more information on this?

Best would be to provide logs as laid out in the readme.

Lu6413 commented 1 year ago

I have attached the requested LOGS and some screenshots showing that current_position always has the value 99. The value does not change when the shutters are opened or closed.

Info_LOG_HA.txt Entity_Card_with_Shutter Conditions

Taraman17 commented 1 year ago

Now I got some time to look into this.

One more question: The FIbaro supports slat position. But you are controlling normal Shutter without slat rotation, is that correct?

Edit: It seems, that this is also the cause of the problem. HA uses the SHUTTER_SLAT_POSITION attribute to display the position, since until now we do not fully support shutters with slats, With the Info in the logs, I should be able to add this - but it may take some time and testing with your help.

Taraman17 commented 1 year ago

If you know how to do it, you could try a quick fix by exchanging your local sensor.py of hacs-homee with this one: https://raw.githubusercontent.com/Taraman17/hacs-homee/master/custom_components/homee/sensor.py

FreshlyBrewedCode commented 1 year ago

Please reopen in https://github.com/Taraman17/hacs-homee since this repo is no longer maintained.