home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.97k stars 30.53k forks source link

Cover up/down buttons versus slider ? #23940

Closed gibman closed 5 years ago

gibman commented 5 years ago

Home Assistant release with the issue:

0.93.0

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

hass.io on a RPI3

Component/platform:

Covers

Description of problem: I have a few velux covers setup using the pyvlx component. This is the official velux remote showcasing a blind that has been fully opened (light can pass through) As we can see the slider implemented here is 0. velux_remote_blind


So this is the equivalent in hass.io The buttons are correct here. Arrow down, would make the blind go down. But the slider is all wrong. It says 100%. Very confusing for the user. hass_blind


So I made a few changes in the pyvlx component copying it to the custom components folder. I reversed the logic in "def current_cover_position". This is how it then looks in the hass.io lovelace ui. The buttons are now incorrect but the arrow buttons are correct. It seems I cant have both :/ The arrow buttons are somehow married to the value of the entity attribute 'current_position' which is retrived from "current_cover_position" function.

Is there a way to get around this issue ?

hass_blind_reversed

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

stale[bot] commented 5 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.