HomeAssistant
HomeAssistant copied to clipboard
card_mod v3.4
Hello Lié a la mise a jour de card_mod v3.4, la syntax style a changé
diff --git a/lovelace.yaml b/lovelace.yaml
index cea6d2e..2a0e93a 100644
--- a/lovelace.yaml
+++ b/lovelace.yaml
@@ -633,14 +633,15 @@ button_card_templates:
state: false
icon: false
name: false
- style: |
- ha-card {
- background: transparent;
- font-family: Avenir;
- color: var(--text-off);
- border-color: transparent;
- box-shadow: none;
- }
+ card_mod:
+ style: |
+ ha-card {
+ background: transparent;
+ font-family: Avenir;
+ color: var(--text-off);
+ border-color: transparent;
+ box-shadow: none;
+ }
graph_night:
card:
type: custom:mini-graph-card
@@ -666,14 +667,15 @@ button_card_templates:
state: false
icon: false
name: false
- style: |
- ha-card {
- background: transparent;
- font-family: Avenir;
- color: var(--text-off);
- border-color: transparent;
- box-shadow: none;
- }
+ card_mod:
+ style: |
+ ha-card {
+ background: transparent;
+ font-family: Avenir;
+ color: var(--text-off);
+ border-color: transparent;
+ box-shadow: none;
+ }
styles:
card:
- height: 190px
@@ -741,14 +743,15 @@ button_card_templates:
- color: var(--color-medium-blue)
from: 100
to: 100
- style: |-
- bar-card-value {
- margin-right: -20px;
- font-size: 14px;
- font-weight: bold;
- color: var(--text-off);
- filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.7))
- }
+ card_mod:
+ style: |-
+ bar-card-value {
+ margin-right: -20px;
+ font-size: 14px;
+ font-weight: bold;
+ color: var(--text-off);
+ filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.7))
+ }
styles:
card:
- height: 60px
Oui merci, je suis bien au courant, je l'avais annoncé d'ailleurs sur mon groupe Facebook. Je sors dans quelques jours une tres grosse mise a jour ....