feat(dashboard-zuhause): rebuild Glance & Klima for 2-column layout
Glance (max_columns: 2): - Section 1 (full-width): Personen-Chips + Sicherheit-Card - Section 2 (full-width): Power-Flow-Card - Section 3+4 (parallel cs=1): NIBE-Quick | Roborock-Quick - Section 5 (full-width): Quick-Actions Nachtmodus + Spüler-Nacht - Section 6 (full-width): Clock-Weather + DWD + Trash Klima (NIBE in zwei Sections gesplittet, gleichmäßiger Aufbau): - Heizung NIBE — Status (climate + Vorlauf/Rücklauf/Außen/WW Chips) | Heizung NIBE — Steuerung (4 Selects/Numbers) - Whirlpool | Befeuchter (parallel) - Luftqualität (full-width) - Temperatur-Verlauf (full-width)
This commit is contained in:
+43
-12
@@ -10,7 +10,7 @@
|
||||
"path": "glance",
|
||||
"icon": "mdi:view-dashboard",
|
||||
"type": "sections",
|
||||
"max_columns": 1,
|
||||
"max_columns": 2,
|
||||
"header": {
|
||||
"card": {
|
||||
"type": "custom:mushroom-title-card",
|
||||
@@ -21,6 +21,7 @@
|
||||
"sections": [
|
||||
{
|
||||
"type": "grid",
|
||||
"column_span": 2,
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mushroom-chips-card",
|
||||
@@ -64,7 +65,13 @@
|
||||
"action": "navigate",
|
||||
"navigation_path": "/dashboard-system/sicherheit"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"column_span": 2,
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:power-flow-card-plus",
|
||||
"entities": {
|
||||
@@ -102,7 +109,12 @@
|
||||
"action": "navigate",
|
||||
"navigation_path": "/dashboard-energie/strom"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mushroom-template-card",
|
||||
"primary": "Heizung NIBE",
|
||||
@@ -114,11 +126,16 @@
|
||||
"action": "navigate",
|
||||
"navigation_path": "/lovelace/klima"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mushroom-template-card",
|
||||
"primary": "Roborock Qrevo Curv",
|
||||
"secondary": "{{ states('sensor.roborock_qrevo_curv_status') }} · 🔋 {{ states('sensor.roborock_qrevo_curv_batterie') }}% · {{ states('sensor.roborock_qrevo_curv_gesamtzahl_reinigungen') }} Reinigungen",
|
||||
"secondary": "{{ states('sensor.roborock_qrevo_curv_status') }} · 🔋 {{ states('sensor.roborock_qrevo_curv_batterie') }}% · {{ states('sensor.roborock_qrevo_curv_gesamtzahl_reinigungen') }} Rein.",
|
||||
"icon": "mdi:robot-vacuum",
|
||||
"icon_color": "{% set s = states('sensor.roborock_qrevo_curv_status') %}{% if s in ['cleaning','returning'] %}blue{% elif s == 'charging' %}green{% elif s == 'error' %}red{% else %}grey{% endif %}",
|
||||
"fill_container": true,
|
||||
@@ -126,7 +143,13 @@
|
||||
"action": "navigate",
|
||||
"navigation_path": "/lovelace/sauger"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"column_span": 2,
|
||||
"cards": [
|
||||
{
|
||||
"type": "horizontal-stack",
|
||||
"cards": [
|
||||
@@ -153,7 +176,13 @@
|
||||
"fill_container": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"column_span": 2,
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:clock-weather-card",
|
||||
"entity": "weather.wetter",
|
||||
@@ -929,7 +958,7 @@
|
||||
"sections": [
|
||||
{
|
||||
"type": "grid",
|
||||
"title": "Heizung NIBE",
|
||||
"title": "Heizung NIBE — Status",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mushroom-climate-card",
|
||||
@@ -972,7 +1001,13 @@
|
||||
"content": "WW {{ states('sensor.nibe_s1255_6_e_em_3x400v_hot_water_top_bt7') | float(0) | round(0) }}°C"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"title": "Heizung NIBE — Steuerung",
|
||||
"cards": [
|
||||
{
|
||||
"type": "horizontal-stack",
|
||||
"cards": [
|
||||
@@ -1055,6 +1090,7 @@
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"column_span": 2,
|
||||
"title": "Luftqualität pro Raum",
|
||||
"cards": [
|
||||
{
|
||||
@@ -1065,11 +1101,7 @@
|
||||
"type": "template",
|
||||
"icon": "mdi:molecule-co2",
|
||||
"icon_color": "{% set v = states('sensor.buro_rauchmelder_eco2') | float(0) %}{% if v > 1500 %}red{% elif v > 1000 %}orange{% else %}green{% endif %}",
|
||||
"content": "Büro {{ states('sensor.buro_rauchmelder_eco2') }}",
|
||||
"tap_action": {
|
||||
"action": "more-info",
|
||||
"entity": "sensor.buro_rauchmelder_eco2"
|
||||
}
|
||||
"content": "Büro {{ states('sensor.buro_rauchmelder_eco2') }}"
|
||||
},
|
||||
{
|
||||
"type": "template",
|
||||
@@ -1212,11 +1244,11 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"column_span": 2
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"column_span": 2,
|
||||
"title": "Temperatur-Verlauf 24h",
|
||||
"cards": [
|
||||
{
|
||||
@@ -1298,8 +1330,7 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"column_span": 2
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user