
Mushroom Buttons Conditional Background Color? : …
2023年5月7日 · Hi. I can't update to the latest version of Home Assistant as when I do, it breaks my custom card mod buttons that have conditional Background colors.
How to set a specific color to a specific entity state?
2022年12月8日 · Edit: I just had a quick look and it seems that icons are now using things like 'rgb-state-binary-sensor-color' and "rgb-state-switch-color', etc. I haven't been able to get the desired outcome yet by changing these values, as it doesn't seem to be working the same way as it did in the past, so they may have complicated theming a bit by using ...
Template Sensor: Change icon color based on state?
2023年6月23日 · Edit: It seems like Reddit has maybe distorted some of my indentations, but they are correct on my end and the sensor is working as expected, minus the color change. Archived post. New comments cannot be posted and votes cannot be cast.
Trying to set button colour icon based on an entity state ... - Reddit
2023年11月4日 · I am a bit new to this coding stuff and struggle somewhat. So far I can get the card to change colour based on my entity state using:
Trying to dynamically set icon colors with mushroom templates
2022年12月10日 · Trying to dynamically set icon colors with mushroom templates but having some issues. Any ideas?
Help on changing icon colour when switch is turn on
2024年4月28日 · Hi all, I'm getting lost here how to change to icon colour from default yellow colour to other colours when switch is turn on. For example as per screenshot below, when the "All Fan" is switched on, instead of the default yellow colour, I want the …
Change icon based on sensor state without creating new sensor
2021年7月16日 · What I am trying to do now is simply change the icon to be 'mdi:garage-open' if the State is 'On' /'Open', and then change to 'mdi:garage' if the State is 'Off'/'Closed'. All the info I find is usually a bit old and/or creates a new binary_sensor and/or HA barks at …
Change icon colour in Mushroom chip based on state value
2023年5月26日 · Change icon colour in Mushroom chip based on state value Hi all....trying to get my icon in a mushroom chip to change colour depending on the values returned from a sensor but not having any luck The template checks out but not getting a colour change so figure somethings is wrong but not sure what.
Mushroom Template Card - Change Icon Color Based on Power …
2024年2月25日 · Essentially I'm trying to detect whether my PC is running or not based on it's power draw using an icon color indicator in mushroom's template card. It seems to work somewhat so far, as the color does change if I adjust the values manually, though it won't change automatically based on power draw.
Lovelace UI - Button card colors : r/homeassistant - Reddit
2021年10月12日 · There is a property of the button card called "state_color" which has a default value of "true". The description for that property is "If false, the icon does not change color when the entity is active." By default, buttons tied to entities change their icon colors to indicate the current active state of the entity.