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

set map_state when certain relative state is reached #126

Open
AlexSchmitz222 opened this issue Sep 28, 2021 · 1 comment
Open

set map_state when certain relative state is reached #126

AlexSchmitz222 opened this issue Sep 28, 2021 · 1 comment

Comments

@AlexSchmitz222
Copy link

Hi,

I'd like to be able to set a certain map_state when a relative state is reached.
For example:

I have a battery powered device, whose remaining Battery I'd like to display with icons.
So something like:
map_state:
['<', 80]: ICON-X
['<', 60]: ICON-Y
etc

Would something like that be possible - or is it right now and I am just too dumb ro realize?

Greetings,
Alex

@Aleborg
Copy link

Aleborg commented Dec 4, 2022

+1
Same thing goes for temperature:

Example:

map_state:
  "<10":
    color: rgba(20, 106, 255, 1)

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