tomvanswam / compass-card

A Lovelace card that shows a directional indicator on a compass for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Pointer colour based on wind speed

tomlut opened this issue · comments

Is your feature request related to a problem? Please describe.
No it is not related to a problem.

Describe the solution you'd like
It would be nice if the pointer colour was set by wind speed. e.g. Define set points and colours like so:

color_thresholds:
  - color: '#e45e65'
    value: 30
  - color: '#e0b400'
    value: 20
  - color: '#0da035'
    value: 10
  - color: '#039BE5'
    value: 0

Describe alternatives you've considered
Honestly, it's just a "nice to have". Would not be fussed it if was beyond scope or put way down the bottom of the to-do list.

Additional context
Great card! Thanks.

I'll put this on the todo list. I'll implement this for both the ring and indicator. As personally I'm having a hard time picking the correct colors as I'm colorblind, and having changing colors for the arrow could mean it could become poorly visible on the ring.

+1 for the colorblinds of the world! They have to change a lot (and please not green and red :D ) to be visible for me as well ahah

Thank you!