I have this so far for a mushroom light card and need to figure out how to target the inner elements in the card like the title/name of the entity. Anyone have any advice?
entity: light.office_desk_lamps
name: Lamps
hold_action:
action: more-info
grid_options:
columns: 12
rows: 1
card_mod:
style: |
{% if is_state('light.office_desk_lamps','on') %}
ha-card {
background: #ffffff !important;
}
{% else %}
ha-card {
background: rgba(0,0,0,.3) !important;
}
{% endif %}