Closed Maddin1684 closed 6 months ago
Hey,
with the actual version of card_mod my icons doesn’t update in realtime. When I open a door, the icon doesn’t change instantly.
With the previous version there are no problems and everything works fine.
- entity: binary_sensor.garagentur icon: mdi:garage-variant secondary_info: last-changed card_mod: style: hui-generic-entity-row: $: | .text-content:not(.info) { color: {% if is_state(config.entity, 'off') %} white {% else %} ff4040 {% endif %} ; } :host { {% if is_state(config.entity, 'off') %} --paper-item-icon-color: white; --card-mod-icon: mdi:garage-variant; {% else %} --paper-item-icon-color: #ff4040; --card-mod-icon: mdi:garage-open-variant; {% endif %} ; }
- entity: binary_sensor.garagentur
icon: mdi:garage-variant secondary_info: last-changed card_mod: style: hui-generic-entity-row: $: | .text-content:not(.info) { color: {% if is_state(config.entity, 'off') %} white {% else %}
{% endif %} ; } :host { {% if is_state(config.entity, 'off') %} --paper-item-icon-color: white; --card-mod-icon: mdi:garage-variant; {% else %} --paper-item-icon-color: #ff4040; --card-mod-icon: mdi:garage-open-variant; {% endif %} ; }
Duplicate of #333. Please use the issue templates.
Hey,
with the actual version of card_mod my icons doesn’t update in realtime. When I open a door, the icon doesn’t change instantly.
With the previous version there are no problems and everything works fine.