From 069f0f5cc69d90acc3fd12ec2db01d24ebcd72f1 Mon Sep 17 00:00:00 2001 From: Julian Tabel Date: Mon, 29 Jun 2026 15:07:21 +0200 Subject: [PATCH] Add Klima dashboard as YAML-mode with desktop layout and new devices - Register dashboards/klima.yaml in configuration.yaml under lovelace.dashboards - Remove outer vertical-stack so masonry layout creates multiple columns on desktop - Replace weather entities card with built-in weather-forecast card (daily) - Add bedroom AC (climate.klimaanlage) to bedroom section - Add office AC (climate.echos_mobile_klimaanlage_mit_wifi) row to office section - Add office fan (fan.luftzirkulator) to office section Co-Authored-By: Claude Sonnet 4.6 --- configuration.yaml | 10 ++++ dashboards/klima.yaml | 131 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 141 insertions(+) create mode 100644 dashboards/klima.yaml diff --git a/configuration.yaml b/configuration.yaml index 35f3834..b65979f 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -6,6 +6,16 @@ default_config: frontend: themes: !include_dir_merge_named themes +lovelace: + dashboards: + lovelace-klima: + mode: yaml + filename: dashboards/klima.yaml + title: Klima + icon: mdi:thermometer + show_in_sidebar: true + require_admin: false + automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml diff --git a/dashboards/klima.yaml b/dashboards/klima.yaml new file mode 100644 index 0000000..a3e2bee --- /dev/null +++ b/dashboards/klima.yaml @@ -0,0 +1,131 @@ +views: + - title: Home + path: home + cards: + - type: weather-forecast + entity: weather.openweathermap + forecast_type: daily + name: Weather Forecast + + - type: horizontal-stack + cards: + - type: vertical-stack + cards: + - type: entities + title: Living Room Climate + entities: + - entity: sensor.thermometer_wz_temperature + name: Temperature + - entity: sensor.thermometer_wz_humidity + name: Humidity + - entity: sensor.thermometer_wz_battery + name: Battery + - type: custom:fan-percent-button-row + entity: fan.ventilator_unten + name: Living Room Fan + - type: custom:mini-graph-card + name: Living Room Temperature + entities: + - entity: sensor.thermometer_wz_temperature + - entity: sensor.thermometer_wz_humidity + hours_to_show: 24 + points_per_hour: 2 + line_width: 2 + show: + labels: true + icon: false + name: true + + - type: horizontal-stack + cards: + - type: vertical-stack + cards: + - type: entities + title: Bedroom Climate + entities: + - entity: sensor.thermometer_sz_temperature_4 + name: Temperature + - entity: sensor.thermometer_sz_humidity_4 + name: Humidity + - entity: sensor.thermometer_sz_battery_4 + name: Battery + - entity: climate.klimaanlage + name: Bedroom AC + - type: custom:fan-percent-button-row + entity: fan.ventilator_schlafzimmer + name: Bedroom Fan + - type: custom:mini-graph-card + name: Bedroom Temperature + entities: + - entity: sensor.thermometer_sz_temperature_4 + - entity: sensor.thermometer_sz_humidity_4 + hours_to_show: 24 + points_per_hour: 2 + line_width: 2 + show: + labels: true + icon: false + name: true + + - type: horizontal-stack + cards: + - type: vertical-stack + cards: + - type: entities + title: Office Climate + entities: + - entity: sensor.thermometer_buro_temperature_2 + name: Temperature + - entity: sensor.thermometer_buro_humidity_2 + name: Humidity + - entity: sensor.thermometer_buro_battery_2 + name: Battery + - entity: climate.echos_mobile_klimaanlage_mit_wifi + name: Office AC + - type: custom:fan-percent-button-row + entity: fan.luftzirkulator + name: Office Fan + - type: button + entity: input_boolean.ac_automation_enabled + tap_action: + action: toggle + name: AC Automation + icon: mdi:air-conditioner + - type: custom:mini-graph-card + name: Office Temperature + entities: + - entity: sensor.thermometer_buro_temperature_2 + - entity: sensor.thermometer_buro_humidity_2 + hours_to_show: 24 + points_per_hour: 2 + line_width: 2 + show: + labels: true + icon: false + name: true + + - type: horizontal-stack + cards: + - type: vertical-stack + cards: + - type: entities + title: Bathroom Climate + entities: + - entity: sensor.thermometer_bad_temperature_3 + name: Temperature + - entity: sensor.thermometer_bad_humidity_3 + name: Humidity + - entity: sensor.thermometer_bad_battery_3 + name: Battery + - type: custom:mini-graph-card + name: Bathroom Temperature + entities: + - entity: sensor.thermometer_bad_temperature_3 + - entity: sensor.thermometer_bad_humidity_3 + hours_to_show: 24 + points_per_hour: 2 + line_width: 2 + show: + labels: true + icon: false + name: true