From d4806b631df15456f182980e5a08da853a1e21f8 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Wed, 8 Apr 2026 18:46:40 +0200 Subject: [PATCH] Add heating dashboard and reorder views --- dashboards/views/03_andreas.yaml | 20 - dashboards/views/04_daniel.yaml | 38 +- dashboards/views/06_varme.yaml | 414 ++++++++++++++++++ .../views/{06_vacuum.yaml => 07_vacuum.yaml} | 0 .../views/{07_energy.yaml => 08_energy.yaml} | 0 .../views/{08_tesla.yaml => 09_tesla.yaml} | 0 dashboards/views/{09_map.yaml => 10_map.yaml} | 0 7 files changed, 416 insertions(+), 56 deletions(-) create mode 100644 dashboards/views/06_varme.yaml rename dashboards/views/{06_vacuum.yaml => 07_vacuum.yaml} (100%) rename dashboards/views/{07_energy.yaml => 08_energy.yaml} (100%) rename dashboards/views/{08_tesla.yaml => 09_tesla.yaml} (100%) rename dashboards/views/{09_map.yaml => 10_map.yaml} (100%) diff --git a/dashboards/views/03_andreas.yaml b/dashboards/views/03_andreas.yaml index dbb9f79..a161ab9 100644 --- a/dashboards/views/03_andreas.yaml +++ b/dashboards/views/03_andreas.yaml @@ -277,26 +277,6 @@ sections: - type: heading heading: Alarmer - - type: button - name: Alarmer til - icon: mdi:alarm-check - tap_action: - action: perform-action - perform_action: homeassistant.turn_on - target: - entity_id: - - switch.sonos_alarm_445 - - - type: button - name: Alarmer fra - icon: mdi:alarm-off - tap_action: - action: perform-action - perform_action: homeassistant.turn_off - target: - entity_id: - - switch.sonos_alarm_445 - - type: tile entity: switch.sonos_alarm_445 name: Hverdage 6.30 diff --git a/dashboards/views/04_daniel.yaml b/dashboards/views/04_daniel.yaml index 9c0743d..3691a05 100644 --- a/dashboards/views/04_daniel.yaml +++ b/dashboards/views/04_daniel.yaml @@ -277,47 +277,13 @@ sections: - type: heading heading: Alarmer - - type: button - name: Alarmer til - icon: mdi:alarm-check - tap_action: - action: perform-action - perform_action: homeassistant.turn_on - target: - entity_id: - - switch.sonos_alarm_377 - - switch.sonos_alarm_1894 - - switch.sonos_alarm_2273 - - switch.sonos_alarm_3471 - - - type: button - name: Alarmer fra - icon: mdi:alarm-off - tap_action: - action: perform-action - perform_action: homeassistant.turn_off - target: - entity_id: - - switch.sonos_alarm_377 - - switch.sonos_alarm_1894 - - switch.sonos_alarm_2273 - - switch.sonos_alarm_3471 - - type: tile entity: switch.sonos_alarm_377 - name: Hverdage - - - type: tile - entity: switch.sonos_alarm_1894 - name: Afsted - - - type: tile - entity: switch.sonos_alarm_2273 - name: Man/Fre + name: Hverdage 6.15 - type: tile entity: switch.sonos_alarm_3471 - name: Lørdag + name: Lørdage 6.00 - type: grid cards: diff --git a/dashboards/views/06_varme.yaml b/dashboards/views/06_varme.yaml new file mode 100644 index 0000000..7bd5a8e --- /dev/null +++ b/dashboards/views/06_varme.yaml @@ -0,0 +1,414 @@ +title: Varme +path: varme +icon: mdi:radiator +type: sections + +max_columns: 2 + +sections: + + - type: grid + cards: + - type: heading + heading: Andreas + + - type: horizontal-stack + cards: + - type: custom:apexcharts-card + graph_span: 24h + header: + show: true + title: Temperaturer + show_states: true + colorize_states: true + now: + show: true + label: Nu + apex_config: + chart: + height: 240 + grid: + strokeDashArray: 2 + xaxis: + type: datetime + labels: + datetimeFormatter: + hour: HH:mm + yaxis: + decimalsInFloat: 1 + tickAmount: 6 + series: + - entity: sensor.sovevaerelse_stue_temperatur + name: Netatmo + - entity: sensor.hue_motion_sensor_2_temperature_2 + name: Hue + + - type: vertical-stack + cards: + - type: thermostat + entity: climate.andreas + name: Gulvvarme + + - type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + entity: climate.andreas + name: -0.5° + icon: mdi:minus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.andreas + temperature: '[[[ return Math.max(7, (entity.attributes.temperature || 0) - 0.5); ]]]' + + - type: custom:button-card + entity: climate.andreas + name: +0.5° + icon: mdi:plus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.andreas + temperature: '[[[ return Math.min(35, (entity.attributes.temperature || 0) + 0.5); ]]]' + + - type: grid + cards: + - type: heading + heading: Daniel + + - type: horizontal-stack + cards: + - type: custom:apexcharts-card + graph_span: 24h + header: + show: true + title: Temperaturer + show_states: true + colorize_states: true + now: + show: true + label: Nu + apex_config: + chart: + height: 240 + grid: + strokeDashArray: 2 + xaxis: + type: datetime + labels: + datetimeFormatter: + hour: HH:mm + yaxis: + decimalsInFloat: 1 + tickAmount: 6 + series: + - entity: sensor.sovevaerelse_daniel_temperatur + name: Netatmo + - entity: sensor.hue_motion_sensor_2_temperature + name: Hue + + - type: vertical-stack + cards: + - type: thermostat + entity: climate.daniel + name: Gulvvarme + + - type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + entity: climate.daniel + name: -0.5° + icon: mdi:minus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.daniel + temperature: '[[[ return Math.max(7, (entity.attributes.temperature || 0) - 0.5); ]]]' + + - type: custom:button-card + entity: climate.daniel + name: +0.5° + icon: mdi:plus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.daniel + temperature: '[[[ return Math.min(35, (entity.attributes.temperature || 0) + 0.5); ]]]' + + - type: grid + cards: + - type: heading + heading: Kontor + + - type: horizontal-stack + cards: + - type: custom:apexcharts-card + graph_span: 24h + header: + show: true + title: Temperaturer + show_states: true + colorize_states: true + now: + show: true + label: Nu + apex_config: + chart: + height: 240 + grid: + strokeDashArray: 2 + xaxis: + type: datetime + labels: + datetimeFormatter: + hour: HH:mm + yaxis: + decimalsInFloat: 1 + tickAmount: 6 + series: + - entity: sensor.kontor_motion_temperatur + name: Hue + + - type: vertical-stack + cards: + - type: thermostat + entity: climate.kontor + name: Gulvvarme + + - type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + entity: climate.kontor + name: -0.5° + icon: mdi:minus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.kontor + temperature: '[[[ return Math.max(7, (entity.attributes.temperature || 0) - 0.5); ]]]' + + - type: custom:button-card + entity: climate.kontor + name: +0.5° + icon: mdi:plus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.kontor + temperature: '[[[ return Math.min(35, (entity.attributes.temperature || 0) + 0.5); ]]]' + + - type: grid + cards: + - type: heading + heading: Stue + + - type: custom:apexcharts-card + graph_span: 24h + header: + show: true + title: Temperaturer + show_states: true + colorize_states: true + now: + show: true + label: Nu + apex_config: + chart: + height: 240 + grid: + strokeDashArray: 2 + xaxis: + type: datetime + labels: + datetimeFormatter: + hour: HH:mm + yaxis: + decimalsInFloat: 1 + tickAmount: 6 + series: + - entity: sensor.stue_motion_temperatur + name: Hue + - entity: sensor.n22_temperatur + name: Netatmo + + - type: grid + cards: + - type: heading + heading: Sovevaerelse + + - type: horizontal-stack + cards: + - type: custom:apexcharts-card + graph_span: 24h + header: + show: true + title: Temperaturer + show_states: true + colorize_states: true + now: + show: true + label: Nu + apex_config: + chart: + height: 240 + grid: + strokeDashArray: 2 + xaxis: + type: datetime + labels: + datetimeFormatter: + hour: HH:mm + yaxis: + decimalsInFloat: 1 + tickAmount: 6 + series: + - entity: sensor.sovevaerelse_temperatur + name: Netatmo + - entity: sensor.hue_motion_sensor_1_temperature_2 + name: Hue sovevaerelse + - entity: sensor.hue_motion_sensor_1_temperature + name: Hue skab + + - type: vertical-stack + cards: + - type: thermostat + entity: climate.sovevaerelse + name: Gulvvarme + + - type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + entity: climate.sovevaerelse + name: -0.5° + icon: mdi:minus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.sovevaerelse + temperature: '[[[ return Math.max(7, (entity.attributes.temperature || 0) - 0.5); ]]]' + + - type: custom:button-card + entity: climate.sovevaerelse + name: +0.5° + icon: mdi:plus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.sovevaerelse + temperature: '[[[ return Math.min(35, (entity.attributes.temperature || 0) + 0.5); ]]]' + + - type: grid + cards: + - type: heading + heading: Bad + + - type: custom:apexcharts-card + graph_span: 24h + header: + show: true + title: Temperaturer + show_states: true + colorize_states: true + now: + show: true + label: Nu + apex_config: + chart: + height: 240 + grid: + strokeDashArray: 2 + xaxis: + type: datetime + labels: + datetimeFormatter: + hour: HH:mm + yaxis: + decimalsInFloat: 1 + tickAmount: 6 + series: + - entity: sensor.bad_motion_sensor_temperature + name: Hue + + - type: grid + cards: + - type: heading + heading: Gang + + - type: horizontal-stack + cards: + - type: custom:apexcharts-card + graph_span: 24h + header: + show: true + title: Temperaturer + show_states: true + colorize_states: true + now: + show: true + label: Nu + apex_config: + chart: + height: 240 + grid: + strokeDashArray: 2 + xaxis: + type: datetime + labels: + datetimeFormatter: + hour: HH:mm + yaxis: + decimalsInFloat: 1 + tickAmount: 6 + series: + - entity: sensor.gang_sensor_temperature + name: Gang + - entity: sensor.forgang_sensor_temperature + name: Forgang + + - type: vertical-stack + cards: + - type: thermostat + entity: climate.fordelingsgang + name: Gulvvarme + + - type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + entity: climate.fordelingsgang + name: -0.5° + icon: mdi:minus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.fordelingsgang + temperature: '[[[ return Math.max(7, (entity.attributes.temperature || 0) - 0.5); ]]]' + + - type: custom:button-card + entity: climate.fordelingsgang + name: +0.5° + icon: mdi:plus + tap_action: + action: call-service + service: climate.set_temperature + service_data: + entity_id: climate.fordelingsgang + temperature: '[[[ return Math.min(35, (entity.attributes.temperature || 0) + 0.5); ]]]' \ No newline at end of file diff --git a/dashboards/views/06_vacuum.yaml b/dashboards/views/07_vacuum.yaml similarity index 100% rename from dashboards/views/06_vacuum.yaml rename to dashboards/views/07_vacuum.yaml diff --git a/dashboards/views/07_energy.yaml b/dashboards/views/08_energy.yaml similarity index 100% rename from dashboards/views/07_energy.yaml rename to dashboards/views/08_energy.yaml diff --git a/dashboards/views/08_tesla.yaml b/dashboards/views/09_tesla.yaml similarity index 100% rename from dashboards/views/08_tesla.yaml rename to dashboards/views/09_tesla.yaml diff --git a/dashboards/views/09_map.yaml b/dashboards/views/10_map.yaml similarity index 100% rename from dashboards/views/09_map.yaml rename to dashboards/views/10_map.yaml