-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add posibility to invert slider #162
Comments
Would also love that option! |
I would also like to have this feature. Useful for covers. |
vertical option with invert would be great ! |
The automation would be always for example 25%. Just the UI shall be inverted. Eg: 100% - value: so 25% would be displayed as 75% in the slider. |
But do you agree that a "slider-inverted: true" would make the picture in the first post correct? So if "Stue" in the image would have the "silder-inverted: true" then, when the cover is fully closed, the slider would be gray and slider knob would be on the left side, aligning with "Jentene", "Ariel" and "Vårt" |
What I'm saying is; if you're seeing what's in the screenshot when the covers are closed, then that's a problem with your covers, because the first two obviously report "closed" as 100%, while the others don't. That is objectively wrong: https://developers.home-assistant.io/docs/core/entity/cover#platform-properties-to-be-implemented-by-deriving-platform-classes |
My covers have a correct implementation where 100 is fully open. But I would like a slider where left being 100 (=open) and right being 0 (=closed). That is my request at least. Maybe creator has the same intention with his request. |
Exactly. The |
But that's the request/issue all about that the visualization of the covers does not reflect reality. I understand that this may be an issue with manufacturer and that's why a parameter for inverted slides would correctly show all the slidees to the left / as behaving in the same way. Anyway, i understand if you think this is something not worth implementing / bothering with. |
https://www.youtube.com/watch?v=ddPQAJSm2cQ https://github.com/thomasloven/lovelace-card-mod |
Exactly what was requested. Use another card 👍 |
transform does not solve the request at all. It is just making the slider unusable. I think this was just a sarcastic proposal. |
yeah, did not even bother with the provided solution. I guess he doesn't see anything wrong and as long that happens, the visualization issue with this card will be broken, so yeah @ZTHawk, don't bother. |
I'm just not convinced that hiding the issue fixes it. Run the following service call: service: cover.set_cover_position
data:
position: 10 And see what happens. If all of your blinds open just a little bit, then the problem may be with slider-entity row. That is what you should fix. It's not that "the visualization of the covers does not reflect reality". The visualization exactly reflects Home Assistants view of the reality. If Home Assistant sees the reality wrong, you'll have a lot of other problems down the line and changing the slider would just make those even MORE confusing when you run into them. |
You are correct, the ones that are "wrong" behave in the exact same opposite way, instead of going to 10% closure they go to to 90%, yes like in the original screenshot they report the opposite of what the others report. That is wrong, i know it, you know it everybody knows it and understands it. That is the root cause. |
Then we'll just have to agree to disagree. Slider-entity-row will keep reporting the state in Home Assistant and nothing else. I'm not asking you to talk to the cover manufacturer about the problem, though. From their point of view, there's probably no problem at all. I'm asking you to talk to whoever made the integration that interprets the reality as a Home Assistant state - be that the Home Assistant team or some third party. |
👍 |
Scenario:
While some covers report fully closed/open the slider is all the way to the right, other covers report fully closed/open position when the slider is all they way to the left.
In the image below all the covers are fully closed:
Adding an option for the slider to be inverted would fix this behaviour.
The text was updated successfully, but these errors were encountered: