Hi,
How do I change the color of any icon using card-mod? Eg. Let’s say I want a yellow icon for the entity input_boolean.motion_sensor_control
How do I make this happen? I tried using the paper-item-icon-color command like it’s mentioned here : 🔹 Card-mod - Add css styles to any lovelace card - #1188 by Ildar_Gabdullin
But that didn’t work.
Here’s the yaml code (also shown in screenshot) :
type: entities
entities:
- entity: switch.shelly_relay
- entity: input_boolean.motion_sensor_control
- entity: input_boolean.enable_disable_schedule
- entity: input_datetime.scheduler_on
- entity: input_datetime.scheduler_off
title: Office
state_color: false
show_header_toggle: false
grid_options:
columns: 14
rows: auto
theme: Windows 10 Plum
card_mod:
style: |
ha-card {
background: transparent;
background: rgb(0,0,50,0.3);
border-radius: 14px;
}
Thanks!!