Skip to content

Commit

Permalink
Corrected an error in a custom template
Browse files Browse the repository at this point in the history
  • Loading branch information
Clooos authored Jun 17, 2024
1 parent 51a144b commit ad7b641
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1357,8 +1357,9 @@ card_type: button
entity: switch.test
name: Test
styles: |
.bubble-button-card-container {
background-color: ${state === 'on' ? 'green' : 'red'} !important;
.bubble-button-background {
opacity: 1 !important;
background-color: ${state === 'on' ? 'blue' : 'red'} !important;
}
```
Expand Down

0 comments on commit ad7b641

Please sign in to comment.