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

percentuage red, yello and green. #983

Open
unecc opened this issue Sep 5, 2024 · 1 comment
Open

percentuage red, yello and green. #983

unecc opened this issue Sep 5, 2024 · 1 comment

Comments

@unecc
Copy link

unecc commented Sep 5, 2024

Hi, i'm trying to change color of percentuage of camera battery can you see that's yellow.

image

this is the code

  • type: state-label
    entity: sensor.aarlo_battery_level_sopra_cucina
    style:
    background-color: rgba(61, 116, 254, 0.0)
    border-radius: 0%
    color: yellow
    font-size: 5px
    font-weight: bold
    left: 39%
    top: 10%
    tap_action: none

I would like that will be GREEN when percentuage is over 70. YELLO since 30 to 69 and RED when it's under 29.

Someone can help me please?

@twrecked
Copy link
Owner

twrecked commented Sep 8, 2024

This isn't an Aarlo specific issue so you are probably better asking it on the Home Assistant Community web site.

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

No branches or pull requests

2 participants