artem-sedykh / mini-climate-card

Minimalistic climate card for Home Assistant Lovelace UI
MIT License
281 stars 19 forks source link

Change the state or icon based on hvac-action #62

Open pittbull opened 2 years ago

pittbull commented 2 years ago

Hi - I just love the work you've put in on this card and I have been trying to the best of my abilities (which are limited) to achieve what I've asked in the subject.

My climate device are using the hvac-action modes: heating, idle and off.

What I would like to achieve is to visually separate between the modes heating and idle, either by change the state of the icon or something to that effect.

As it stands now I am unable to alter any of these. What I can do is use hvac-action in secondary_info and thereby read the state but as you can imagine the WAF on this is pretty low. :)

Any thing I can do to achieve this?

DaTTcz commented 1 year ago

Hello, I have the same problem. I would like to change the main icon color, or color of icon in the secondary_info based on hvac-action. Thank you. David

regevbr commented 1 year ago

PRs are more than welcome