kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
2.87k stars 231 forks source link

hiding main entity state / show_icon_adaptive_color: true doens't seem ok #1018

Closed lecocqe closed 5 months ago

lecocqe commented 8 months ago

hello,

in the following snippet, 1) i would like to hide "50%" (state of main entity) from the graph image

type: custom:mini-graph-card
entities:
  - entity: sensor.wc_batt
    show_graph: false
    show_state: false

  - entity: sensor.wc_temp
    show_graph: true
    show_state: true
name: WC
show_state: false
show_icon_adaptive_color: true
show_legend: false

2) i would like to make the color of the battery icon follow the value as indicated in documentation image

image

as mentioned in entity card: image

thank you for the great job you do Regards

ildar170975 commented 8 months ago
  1. Options in your code are misplaced. Check for docs.

  2. Icon’s color is set to a graph’s color, not to some theme-defined color. Next time do not place different issues into one. Create a separate FEATURE REQUEST if you need a different behavior for the icon with a detailed description.

ildar170975 commented 5 months ago

No feedback for 3 months. Closed.