hass-shutter-card
hass-shutter-card copied to clipboard
Invert_percentage not working with graphic
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.
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.
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 providetrue
for themouseUp
action andfalse
for the UI update.
How have you don this?