Skip to content

Commit 6787e82

Browse files
authored
Update card_media_player.yaml
1 parent 2b5fad9 commit 6787e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_media_player.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ card_media_player:
642642
if(variables.ulm_card_media_player_enable_art && states[entity.entity_id].attributes.entity_picture != null){
643643
return 'rgba(0, 0, 0, 0.5)'
644644
}
645-
if (variables.ulm_card_media_player_force_background_color) {
645+
if (variables.ulm_card_media_player_force_background_color && variables.ulm_active_state) {
646646
return 'rgb(250,250,250)';
647647
}
648648
return 'rgba(var(--color-' + color + '),1)'

0 commit comments

Comments
 (0)