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

Make size unit changeable (defaults to px) #83

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

Conversation

szerencl
Copy link

Size unit can be optionally added in the configuration both for size and label_size. If no unit is specified it defaults to px.

type: entities
      show_header_toggle: false
      entities:
        - type: custom:rgb-light-card
          size: 1.07vw
          label_size: 0.5rem
          entity: light.bedroom_lights
          colors:
             - label: Yellow
               hs_color:
                  - 60
                  - 75
               icon_color: yellow

image
Solves #82.

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.

1 participant