Redesign Klima dashboard with sections view for 2-column desktop layout

Switch from masonry to sections view (max_columns: 2) so rooms sit
side-by-side on desktop and stack on mobile. Weather card spans both
columns. Fan controls moved inside entities cards as inline rows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-29 15:14:28 +02:00
parent 069f0f5cc6
commit 409682d076
+61 -77
View File
@@ -1,30 +1,30 @@
views: views:
- title: Home - title: Home
path: home path: home
cards: type: sections
- type: weather-forecast max_columns: 2
entity: weather.openweathermap sections:
forecast_type: daily - column_span: 2
name: Weather Forecast
- type: horizontal-stack
cards: cards:
- type: vertical-stack - type: weather-forecast
cards: entity: weather.openweathermap
- type: entities forecast_type: daily
title: Living Room Climate name: Weather Forecast
entities:
- entity: sensor.thermometer_wz_temperature - cards:
name: Temperature - type: entities
- entity: sensor.thermometer_wz_humidity title: Living Room
name: Humidity entities:
- entity: sensor.thermometer_wz_battery - entity: sensor.thermometer_wz_temperature
name: Battery name: Temperature
- entity: sensor.thermometer_wz_humidity
name: Humidity
- entity: sensor.thermometer_wz_battery
name: Battery
- type: custom:fan-percent-button-row - type: custom:fan-percent-button-row
entity: fan.ventilator_unten entity: fan.ventilator_unten
name: Living Room Fan name: Fan
- type: custom:mini-graph-card - type: custom:mini-graph-card
name: Living Room Temperature
entities: entities:
- entity: sensor.thermometer_wz_temperature - entity: sensor.thermometer_wz_temperature
- entity: sensor.thermometer_wz_humidity - entity: sensor.thermometer_wz_humidity
@@ -34,28 +34,24 @@ views:
show: show:
labels: true labels: true
icon: false icon: false
name: true name: false
- type: horizontal-stack - cards:
cards: - type: entities
- type: vertical-stack title: Bedroom
cards: entities:
- type: entities - entity: sensor.thermometer_sz_temperature_4
title: Bedroom Climate name: Temperature
entities: - entity: sensor.thermometer_sz_humidity_4
- entity: sensor.thermometer_sz_temperature_4 name: Humidity
name: Temperature - entity: sensor.thermometer_sz_battery_4
- entity: sensor.thermometer_sz_humidity_4 name: Battery
name: Humidity - entity: climate.klimaanlage
- entity: sensor.thermometer_sz_battery_4 name: AC
name: Battery
- entity: climate.klimaanlage
name: Bedroom AC
- type: custom:fan-percent-button-row - type: custom:fan-percent-button-row
entity: fan.ventilator_schlafzimmer entity: fan.ventilator_schlafzimmer
name: Bedroom Fan name: Fan
- type: custom:mini-graph-card - type: custom:mini-graph-card
name: Bedroom Temperature
entities: entities:
- entity: sensor.thermometer_sz_temperature_4 - entity: sensor.thermometer_sz_temperature_4
- entity: sensor.thermometer_sz_humidity_4 - entity: sensor.thermometer_sz_humidity_4
@@ -65,34 +61,26 @@ views:
show: show:
labels: true labels: true
icon: false icon: false
name: true name: false
- type: horizontal-stack - cards:
cards: - type: entities
- type: vertical-stack title: Office
cards: entities:
- type: entities - entity: sensor.thermometer_buro_temperature_2
title: Office Climate name: Temperature
entities: - entity: sensor.thermometer_buro_humidity_2
- entity: sensor.thermometer_buro_temperature_2 name: Humidity
name: Temperature - entity: sensor.thermometer_buro_battery_2
- entity: sensor.thermometer_buro_humidity_2 name: Battery
name: Humidity - entity: climate.echos_mobile_klimaanlage_mit_wifi
- entity: sensor.thermometer_buro_battery_2 name: AC
name: Battery
- entity: climate.echos_mobile_klimaanlage_mit_wifi
name: Office AC
- type: custom:fan-percent-button-row - type: custom:fan-percent-button-row
entity: fan.luftzirkulator entity: fan.luftzirkulator
name: Office Fan name: Fan
- type: button - entity: input_boolean.ac_automation_enabled
entity: input_boolean.ac_automation_enabled
tap_action:
action: toggle
name: AC Automation name: AC Automation
icon: mdi:air-conditioner
- type: custom:mini-graph-card - type: custom:mini-graph-card
name: Office Temperature
entities: entities:
- entity: sensor.thermometer_buro_temperature_2 - entity: sensor.thermometer_buro_temperature_2
- entity: sensor.thermometer_buro_humidity_2 - entity: sensor.thermometer_buro_humidity_2
@@ -102,23 +90,19 @@ views:
show: show:
labels: true labels: true
icon: false icon: false
name: true name: false
- type: horizontal-stack - cards:
cards: - type: entities
- type: vertical-stack title: Bathroom
cards: entities:
- type: entities - entity: sensor.thermometer_bad_temperature_3
title: Bathroom Climate name: Temperature
entities: - entity: sensor.thermometer_bad_humidity_3
- entity: sensor.thermometer_bad_temperature_3 name: Humidity
name: Temperature - entity: sensor.thermometer_bad_battery_3
- entity: sensor.thermometer_bad_humidity_3 name: Battery
name: Humidity
- entity: sensor.thermometer_bad_battery_3
name: Battery
- type: custom:mini-graph-card - type: custom:mini-graph-card
name: Bathroom Temperature
entities: entities:
- entity: sensor.thermometer_bad_temperature_3 - entity: sensor.thermometer_bad_temperature_3
- entity: sensor.thermometer_bad_humidity_3 - entity: sensor.thermometer_bad_humidity_3
@@ -128,4 +112,4 @@ views:
show: show:
labels: true labels: true
icon: false icon: false
name: true name: false