hass-shutter-card icon indicating copy to clipboard operation
hass-shutter-card copied to clipboard

Invert_percentage not working with graphic

Open KronosTheory opened this issue 3 years ago • 2 comments

When using the invert_percentage entity, the arrows on the card are correct and the graphic displays the correct position; however to use the graphic to set the position, I have to drag the graphic to the inverse.

(ex. If the blinds are set to have 30% of the window showing and want to set the blinds to have 40% of the window showing, I have to drag the graphic up to the 60% showing)

This might because the value for the position of a cover might not be inverted, while the lower and raise commands are simply swapped.

KronosTheory avatar Jun 15 '21 19:06 KronosTheory

I recently setup an Aqara blind driver and had the same issue, neither true or false on the invert_percentage config option gives the correct result for both actual blind position and card blind position. I've had to split this config option into two separate options so I can provide true for the mouseUp action and false for the UI update.

Fork

hibob224 avatar Oct 21 '21 19:10 hibob224

I recently setup an Aqara blind driver and had the same issue, neither true or false on the invert_percentage config option gives the correct result for both actual blind position and card blind position. I've had to split this config option into two separate options so I can provide true for the mouseUp action and false for the UI update.

Fork

How have you don this?

tvgnl avatar Oct 29 '21 09:10 tvgnl