banner-card icon indicating copy to clipboard operation
banner-card copied to clipboard

set map_state when certain relative state is reached

Open AlexSchmitz222 opened this issue 3 years ago • 1 comments

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

AlexSchmitz222 avatar Sep 28 '21 21:09 AlexSchmitz222

+1 Same thing goes for temperature:

Example:

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

Aleborg avatar Dec 04 '22 11:12 Aleborg