Please tell a newbie the simplest code for changing the background color of a tile card.
Install card-mod and add this code (untested):
type: tile
…
card_mod:
style: |
ha-card {background: red;}
cards:
- features:
- type: light-color-temp
type: tile
card_mod: null
style: |
ha-card {background: red;}
entity: light.den_table_lamp
features_position: bottom
vertical: false
show_entity_picture: true
color: primary
hide_state: false
state_content: brightness
name: Table
view_layout:
grid-area: row1-2
- type: light-color-temp
foursome reasons my indents did not copy
Seems that the card-mod code is not properly indented. Check card-mod docs for a correct syntax.