Hello everyone,
I tried to completely move to the tile card since it works best with the new section view.
But one thing I noticed is that it doesn’t really like card-mod. At least for me.
The problem is that it sometimes just refuses to use the mod configuration it has and just loads the default theme.
- Core 2024.11.2
- Supervisor 2024.11.4
- Operating System 13.2
- Frontend 20241106.2
The top one is the default tile card and the bottom one is advanced tile card from HACS. The bottom one always works but the top tile card is different after every fiew refreshes. Sometimes it works and sometimes it doesn’t.
Here’s the card:
type: tile
entity: light.vorraum_licht
tap_action:
action: navigate
navigation_path: "#vorraum-licht"
name: Bedroom
card_mod:
style: |
{% if states('light.vorraum_licht') == 'on' %}
ha-card {
background: white;
--primary-text-color: black;
}
ha-state-icon {
color: white;
background: rgb(250,200,100);
padding: 20px;
}
ha-tile-icon {
--tile-color: var(--state-icon-color);
}
{% else %}
{% endif %}
}
Does anyone know of any weird behaviour of the tile card?
Thanks for the help!