Closed dm82m closed 1 year ago
invert_position
does that literally for you.
No, it just switches the open/closed states but the slider keeps the functionality as it was before.
No, it just switches the open/closed states but the slider keeps the functionality as it was before.
So you mean you want to e.g. set 20% and the cover position is set to 80%?
both are open. First one uses invert_position. But I do not want to invert the state of open/closed. I want to invert the slide. So in case of Open the slider should be left side. In case of closed it should be right side.
No, it just switches the open/closed states but the slider keeps the functionality as it was before.
So you mean you want to e.g. set 20% and the cover position is set to 80%?
Maybe yes. But maybe this is also only some knots in my head. But asked my wife and she had the same desire 🥳
both are open. First one uses invert_position. But I do not want to invert the state of open/closed. I want to invert the slide. So in case of Open the slider should be left side. In case of closed it should be right side.
Ahh okay the funny thing is all of my covers are set up this way. My covers have a attribute called invert_cover
which I set to true
. So I have exactly the behavior you want.
Atm I don't know what makes more sense:
I would go with a attribute to invert the slider. Gives flexibility to the users. I am using homematic ip covers and have no invert mode there.
Ha dev docs says: „ The current position of cover where 0 means closed and 100 is fully open.“ So your plug-in is right but it’s just my brain that wants to have it other way round.
Ah okay I thought this a common option. So it will be option 3 then, something for my todo list.
Implemented with v0.2.0 release.
Is it possible to add a property to invert the slider. If the state is open I would expect the slider to be on the left end of the scale. If it is closed I would expect the slider on the ride side of the scale. Currently it’s the other way around and confuses me.