wip
Test Workflow / test (push) Failing after 11s
Test Workflow / test (pull_request) Failing after 7s

This commit is contained in:
dev
2026-05-03 13:48:06 +02:00
parent 219308f6a0
commit 3effd47453
10 changed files with 954 additions and 64 deletions
+418
View File
@@ -0,0 +1,418 @@
# =============================================================================
# Home Assistant Dashboard - OVERSICHT
# A modern, minimal-light dashboard with full energy monitoring
# =============================================================================
# Installation: Copy content to your dashboards YAML or configure via UI
# =============================================================================
title: Übersicht
theme: frontend
icon: mdi:home-variant
# Cache config for performance
stack:
horizontal: false
# Views (tabs)
views:
# -----------------------------------------------------------------------------
# VIEW 1: UBERSICHT (Main Dashboard)
# -----------------------------------------------------------------------------
- title: Übersicht
icon: mdi:home-variant
path: overview
badges:
- entity: zone.home
name: Zu Hause
- entity: weather.forecast_home
name: Wetter
- entity: sensor.thermometer_temperatur
name: Temperatur
- entity: sensor.electricity_maps_anteil_fossiler_energietrager
name: CO2
cards:
# -------------------------------------------------------------------------
# ROW 0: Header (Weather + Time + Quick Stats) - Custom: Mushroom Chips
# -------------------------------------------------------------------------
- type: custom:mushroom-chips-card
chips:
- type: weather
entity: weather.forecast_home
show-label: true
- type: template
icon: mdi:thermometer
value: "{{ states('sensor.thermometer_temperatur') }}°"
- type: template
icon: mdi:water-percent
value: "{{ states('sensor.thermometer_luftfeuchtigkeit') }}%"
- type: template
icon: mdi:account-group-outline
value: "{{ states('zone.home') | int }} Pers."
- type: template
icon: mdi:flash
value: "{{ states('sensor.all_standby_power') | round(0) }}W"
# -------------------------------------------------------------------------
# ROW 1: Living Room + Kitchen (2 columns)
# -------------------------------------------------------------------------
- type: grid
columns: 2
square: true
cards:
# --- Wohnzimmer Tile ---
- type: tile
entity: light.wohnzimmerlichter
name: Wohnzimmer
icon: mdi:ceiling-light
show_state: true
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.wohnzimmerlichter
longPress_action:
action: navigate
navigation_path: /lovelace/wohnzimmer
features:
- type: light-brightness
- type: light-color-temp
# --- Küche / Einkaufsliste Tile ---
- type: tile
entity: todo.einkaufsliste_2
name: Einkaufsliste
icon: mdi:cart
show_state: true
tap_action:
action: navigate
navigation_path: /lovelace/kueche
# -------------------------------------------------------------------------
# ROW 2: Climate + Media (2 columns)
# -------------------------------------------------------------------------
- type: grid
columns: 2
square: true
cards:
# --- Temperature Card ---
- type: tile
entity: sensor.thermometer_temperatur
name: Innenraum
icon: mdi:thermometer
show_state: true
state_content: "{{ states('sensor.thermometer_temperatur') }}°C / {{ states('sensor.thermometer_luftfeuchtigkeit') }}%"
# --- Vacuum Status ---
- type: tile
entity: vacuum.niles
name: Niles
icon: mdi:robot-vacuum
show_state: true
# -------------------------------------------------------------------------
# ROW 3: Lights Quick Control (Grid - 4 columns)
# -------------------------------------------------------------------------
- type: grid
columns: 4
square: false
cards:
- type: button
entity: light.wohnzimmerlichter
name: Decke
icon: mdi:ceiling-light
tap_action:
action: toggle
- type: button
entity: light.led_streifen
name: TV Licht
icon: mdi:television
tap_action:
action: toggle
- type: button
entity: cover.rollos
name: Rollos
icon: mdi:blinds
tap_action:
action: toggle
- type: button
entity: scene.fernsehabend
name: Film
icon: mdi:movie
tap_action:
action: activate
# -------------------------------------------------------------------------
# ROW 4: Appliances (2 columns)
# -------------------------------------------------------------------------
- type: grid
columns: 2
square: true
cards:
# --- Waschmaschine ---
- type: tile
entity: switch.waschmaschine_steckdose
name: Waschmaschine
icon: mdi:washing-machine
show_state: true
tap_action:
action: toggle
attributes:
Leistung: sensor.waschmaschine_steckdose_leistung
# --- Geschirrspüler ---
- type: tile
entity: switch.dobby_einschalter
name: Geschirrspüler
icon: mdi:dishwasher
show_state: true
tap_action:
action: toggle
# -------------------------------------------------------------------------
# ROW 5: Energy - Current Usage (Full width)
# -------------------------------------------------------------------------
- type: grid
columns: 3
square: false
cards:
# --- PC Power ---
- type: tile
entity: sensor.pc_setup_leistung
name: PC
icon: mdi:desktop-tower-monitor
show_state: true
state_content: "{{ states('sensor.pc_setup_leistung') | round(1) }}W"
# --- TV Power ---
- type: tile
entity: sensor.tv_anlage_leistung
name: TV
icon: mdi:television
show_state: true
state_content: "{{ states('sensor.tv_anlage_leistung') | round(1) }}W"
# --- Waschmaschine Power ---
- type: tile
entity: sensor.waschmaschine_steckdose_leistung
name: Waschmaschine
icon: mdi:washing-machine
show_state: true
state_content: "{{ states('sensor.waschmaschine_steckdose_leistung') | round(1) }}W"
# -------------------------------------------------------------------------
# ROW 6: Server & Network (2 columns)
# -------------------------------------------------------------------------
- type: grid
columns: 2
square: true
cards:
# --- Server ---
- type: tile
entity: switch.server
name: Server
icon: mdi:server
show_state: true
tap_action:
action: toggle
# --- Network Status ---
- type: tile
entity: binary_sensor.archer_ax55_wan_status
name: Netzwerk
icon: mdi:router-wireless
show_state: true
state_content: "{{ states('binary_sensor.archer_ax55_wan_status') }} | {{ states('sensor.archer_ax55_download_geschwindigkeit') | round(0) }} Mbps"
# -----------------------------------------------------------------------------
# VIEW 2: ENERGIE (Energy Monitoring)
# -----------------------------------------------------------------------------
- title: Energie
icon: mdi:flash
path: energie
cards:
# Current Overview - 2x2 grid
- type: grid
columns: 2
square: true
cards:
# Total Power Now
- type: gauge
name: Aktuelle Leistung
entity: sensor.all_standby_power
min: 0
max: 1000
unit: W
detail: 1
# Today's Usage
- type: sensor
entity: sensor.pc_setup_energie_kwh
name: PC heute
icon: mdi:desktop-tower-monitor
graph: line
# TV Usage
- type: sensor
entity: sensor.tv_anlage_energie_kwh
name: TV heute
icon: mdi:television
graph: line
# Waschmaschine Usage
- type: sensor
entity: sensor.waschmaschine_steckdose_summe_verbraucht
name: Waschmaschine gesamt
icon: mdi:washing-machine
graph: line
# Historical Graph
- type: history-graph
title: Verbrauch (24h)
entities:
- sensor.pc_setup_leistung
- sensor.tv_anlage_leistung
- sensor.waschmaschine_steckdose_leistung
- sensor.3d_drucker_steckdose_leistung
hours_to_show: 24
# Energy Mix
- type: grid
columns: 2
cards:
- type: sensor
entity: sensor.electricity_maps_anteil_fossiler_energietrager
name: Fossiler Anteil
icon: mdi:factory
unit: "%"
graph: line
- type: sensor
entity: sensor.electricity_maps_co2_intensitat
name: CO2 Intensität
icon: mdi:molecule-co2
unit: g/kWh
graph: line
# -----------------------------------------------------------------------------
# VIEW 3: GERATE (Devices)
# -----------------------------------------------------------------------------
- title: Geräte
icon: mdi:devices
path: gerate
cards:
# All Lights
- type: entities
title: Lichter
show_header_toggle: true
entities:
- light.wohnzimmerlichter
- light.led_streifen
- light.innr_fl_120_c_licht
- light.leselampe
- light.whisky_lampe
- light.spiegellicht
# All Switches (Power)
- type: entities
title: Steckdosen
show_header_toggle: true
entities:
- switch.server
- switch.waschmaschine_steckdose
- switch.dobby_einschalter
- switch.tv_anlage_steckdose
- switch.pc_setup_steckdose
- switch.3d_drucker_steckdose
- switch.stereoanlage_steckdose
# Covers
- type: entities
title: Rollos & Jalousien
show_header_toggle: true
entities:
- cover.rollos
- cover.lumi_lumi_curtain_acn002_abdeckung
# Media Players
- type: entities
title: Media Player
show_header_toggle: true
entities:
- media_player.tagesprophet
- media_player.tagesprophet_2
- media_player.assistent
# -----------------------------------------------------------------------------
# VIEW 4: SYSTEM
# -----------------------------------------------------------------------------
- title: System
icon: mdi:cog
path: system
cards:
# Backup Status
- type: entities
title: Backup
entities:
- entity: sensor.backup_backup_manager_zustand
name: Status
- entity: sensor.backup_letztes_erfolgreiches_automatiches_backup
name: Letztes erfolgreiches Backup
- entity: sensor.backup_nachstes_geplantes_automatiches_backup
name: Naechstes geplantes Backup
# Updates
- type: entities
title: Updates
entities:
- entity: update.home_assistant_core_update
name: Home Assistant
- entity: update.home_assistant_operating_system_update
name: OS
- entity: update.hacs_update
name: HACS
# Printer Status
- type: entities
title: Drucker
entities:
- entity: sensor.brother_mfc_l2750dw_series
name: Status
- entity: sensor.brother_mfc_l2750dw_verbleibender_schwarz_toner
name: Schwarz
# Vacuum Stats
- type: entities
title: Saugroboter
entities:
- entity: sensor.niles_status
name: Status
- entity: sensor.niles_cleaning_time
name: Letzte Reinigung
- entity: sensor.niles_cleaned_area
name: Gereinigte Flaeche
- entity: sensor.niles_total_cleaning_time
name: Gesamtzeit
- entity: sensor.niles_battery_level
name: Akku
# -----------------------------------------------------------------------------
# VIEW 5: TODO (Shopping Lists)
# -----------------------------------------------------------------------------
- title: Listen
icon: mdi:format-list-checks
path: listen
cards:
# Einkaufsliste
- type: todo-list
title: Einkaufsliste
entity: todo.einkaufsliste_2
# Kallstadt
- type: todo-list
title: Kallstadt
entity: todo.kallstadt