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

Add support for showing current position for covers #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonasjeeliasson
Copy link

Kept _renderCircleState default behaviour to use brightness for any type of entity, except for the new functionality for covers.

Examples with statePositionTop = true:

Screenshot 2021-05-06 at 13 16 09

Screenshot 2021-05-06 at 13 15 26

Screenshot 2021-05-06 at 13 15 06

Example with statePositionTop = false:
Screenshot 2021-05-06 at 13 16 02
Screenshot 2021-05-06 at 13 14 54

Kept _renderCircleState default behaviour to use brightness for any type of entity, except for the new functionality for covers
@mattclair
Copy link

Not exactly what you are requesting, but this can be accomplished.

icon: mdi:garage
offStates:
  - closed
offIcon: mdi:garage-closed

@jonasjeeliasson
Copy link
Author

Not exactly what you are requesting, but this can be accomplished.

icon: mdi:garage
offStates:
  - closed
offIcon: mdi:garage-closed

Yeah that I figured out, it was used to generate the screenshots in the description as well :-)

What this PR adds is support for showing the precentage as well.

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

Successfully merging this pull request may close these issues.

2 participants