Requirements
Current Behavior
Mushroom entity cards are not reactive to jinja templates e.g. for changing icon_colors based on values. It just leads to a white icon background with an black icon.
Expected Behavior
It's supposed to respect jinja templates and execute it's code.
Steps To Reproduce
- Create an mushroom entity card of your sensor.
- Add you icon color code
e.g.
icon_color: |-
{% set s = states('sensor.rasen_sensor_soil_humidity')|int %}
{% if s > 50 %}
light-green
{% elif s <= 50 %}
orange
{% else %}
red
{% endif %}
Context
YAML state
Environment
- Browser: Chrome
- HA Version: 2024.8.3
- Mushroom: 4.0.5
Anything else?
No response
Requirements
Current Behavior
Mushroom entity cards are not reactive to jinja templates e.g. for changing icon_colors based on values. It just leads to a white icon background with an black icon.
Expected Behavior
It's supposed to respect jinja templates and execute it's code.
Steps To Reproduce
e.g.
Context
YAML state
Environment
Anything else?
No response