Hi, I want set my cover card with an image a little bit opache.
I managed to set the opacity, but to the whole card.
This is the code:
type: entities
show_header_toggle: false
card_mod:
style: |
ha-card {
background: url('/local/tapparella.jpg');
background-size: 100% 200px;
opacity: 0.6;
}
}
entities:
- type: custom:cover-position-preset-row
entity: cover.balcone
reverseButtons: false
width: 36px
customSetpoints: true
openPosition: 99
midOpenPosition: 82
midClosePosition: 51
closePosition: 0
customTheme: true
- entity: cover.balcone
name: ' '
icon: ' '
card_mod:
style: |
:host {
color: blue;
I want set the opacity only the image in background.
Can you help me?
Thanks