Skip to content
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

Inverse cover active icon #227

Closed
bramstroker opened this issue Apr 3, 2022 · 2 comments · Fixed by #384
Closed

Inverse cover active icon #227

bramstroker opened this issue Apr 3, 2022 · 2 comments · Fixed by #384
Labels
enhancement New feature or request

Comments

@bramstroker
Copy link
Contributor

bramstroker commented Apr 3, 2022

Thanks for the great card library, you did an awesome job on this! reworking my whole dashboard using your cards.

I have one feature request.

I use the cover card for multiple of my roller shutters, and sunscreen. When the roller shutter is open it is actually in an inactive state (i.e. the shutter does not cover the screen), but the icon shows it as active. When the shutter is closed the icon is showing an inactive state.

See this screenshot what I mean.

Screenshot 2022-04-03 at 20 49 31

In this case I would like the cover icon to be grayed out instead of blue, what will make much more sense.
Would be nice if there is some option invert_open_state or invert_icon_state or something like that which allows to swap this behaviour.

@bramstroker bramstroker added the enhancement New feature or request label Apr 3, 2022
@beauterham
Copy link

beauterham commented Apr 11, 2022

Im up for this!

@dominicusmento
Copy link

I'd like something pretty similar - and it is to have switched logic on state of the cover.
When it's 'Opened 74%', I'd like to see it as percentage of how much window is covered '26%'.
So states would be:

  1. Open
  2. Percentage of coverage
  3. Closed

Any way of having this implemented along with the icon inverse as an option?
Here is the same cover shown in stock card and mushroom:
image

(by the current implementation I have a feeling that I operate a light and not a cover)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants