From ad7b641cccd6c82f4c5fe83702c8acbf4741dd36 Mon Sep 17 00:00:00 2001 From: Cloos <36499953+Clooos@users.noreply.github.com> Date: Mon, 17 Jun 2024 15:17:36 +0200 Subject: [PATCH] Corrected an error in a custom template --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 46f0f432..22cb403c 100644 --- a/README.md +++ b/README.md @@ -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; } ```