Compare commits

...

7 Commits

Author SHA1 Message Date
claus 81a2165fa4 dash 2026-03-22 18:31:28 +01:00
claus 5b3df9b044 new dash 2026-03-22 18:31:11 +01:00
claus 4484b376d6 new dash 2026-03-22 18:30:32 +01:00
claus 55d36e2f28 new dash 2026-03-22 18:30:16 +01:00
claus 6f9dabbf9f new dash 2026-03-22 18:29:59 +01:00
claus 8354450e96 new dashboard 2026-03-22 18:29:42 +01:00
claus 96989411f7 feat(vacuum): Tilføj komplet Roborock view med historik og automations
- Oversigt over Roborock status, fejl og rengøring i gang
- Visning af kort over huset via camera entity
- Rum-specifikke start-knapper (Køkken/Bryggers, Syd, Mop)
- Historik-graf for de sidste 24 timer
- Automations-knapper: Rengør hele huset, Start mop, Stop
- Dock-fejlindikator
- Mobil- og desktop-optimeret grid-layout
2026-03-22 18:28:47 +01:00
7 changed files with 426 additions and 0 deletions
+10
View File
@@ -118,3 +118,13 @@ panel_iframe: !include_dir_merge_named include/panels/
script: !include_dir_merge_named include/scripts/ script: !include_dir_merge_named include/scripts/
shell_command: !include_dir_merge_named include/shell_commands/ shell_command: !include_dir_merge_named include/shell_commands/
switch: !include_dir_merge_list include/switches/ switch: !include_dir_merge_list include/switches/
lovelace:
mode: yaml
dashboards:
my-dashboard:
mode: yaml
title: Home
icon: mdi:home
show_in_sidebar: true
filename: dashboard.yaml
+3
View File
@@ -0,0 +1,3 @@
views: !include_dir_list dashboards/views
+240
View File
@@ -0,0 +1,240 @@
title: Nørgårdsvej 22
path: home
icon: mdi:home
type: sections
sections:
# 👨‍👩‍👧‍👦 Personer (overblik)
- type: grid
cards:
- type: heading
heading: Familien
- type: glance
entities:
- entity: person.daniel_schusler_dethlefsen
name: Daniel
- entity: person.claus_dethlefsen
name: Claus
- entity: person.anne_schusler_dethlefsen
name: Anne
- entity: person.andreas_schusler_dethlefsen
name: Andreas
# 🏠 Hus kontrol
- type: grid
cards:
- type: heading
heading: Hus kontrol
- type: tile
entity: input_boolean.guests_mode
name: Vi har gæster
icon: mdi:account-group
- type: button
name: Godnat
icon: mdi:weather-night
tap_action:
action: call-service
service: scene.turn_on
target:
entity_id: scene.godnat
- type: button
name: Morgen
icon: mdi:weather-sunset-up
tap_action:
action: call-service
service: scene.turn_on
target:
entity_id: scene.morgen
- type: button
name: Hjemme
icon: mdi:home
tap_action:
action: call-service
service: scene.turn_on
target:
entity_id: scene.hjemme
# 🧭 Navigation
- type: grid
cards:
- type: heading
heading: Navigation
- type: button
name: Stue
icon: mdi:sofa
tap_action:
action: navigate
navigation_path: /lovelace/my-dashboard/stue
- type: button
name: Daniel
icon: mdi:bed
tap_action:
action: navigate
navigation_path: /lovelace/my-dashboard/daniel
- type: button
name: Andreas
icon: mdi:bed
tap_action:
action: navigate
navigation_path: /lovelace/my-dashboard/andreas
- type: button
name: Støvsuger
icon: mdi:robot-vacuum
tap_action:
action: navigate
navigation_path: /lovelace/my-dashboard/vacuum
- type: button
name: Energi
icon: mdi:flash
tap_action:
action: navigate
navigation_path: /lovelace/my-dashboard/energy
# 🌡️ Temperatur
- type: grid
cards:
- type: heading
heading: Temperatur
- type: tile
entity: sensor.n22_temperatur
name: Ude
- type: tile
entity: sensor.sovevaerelse_temperatur
name: Soveværelse
- type: tile
entity: sensor.sovevaerelse_stue_temperatur
name: Andreas
- type: tile
entity: sensor.sovevaerelse_daniel_temperatur
name: Daniel
# ⚡ Energi
- type: grid
cards:
- type: heading
heading: Energi
- type: tile
entity: sensor.energi_data_service
name: Elpris
# 🧹 Støvsuger
- type: grid
cards:
- type: heading
heading: Støvsuger
- type: tile
entity: vacuum.roborock_s8_pro_ultra
- type: tile
entity: sensor.roborock_s8_pro_ultra_status
name: Status
- type: tile
entity: sensor.roborock_s8_pro_ultra_vacuum_error
name: Fejl
# 🍽️ Opvaskemaskine
- type: grid
cards:
- type: heading
heading: Opvaskemaskine
- type: tile
entity: sensor.dishwasher_remaining_time_2
name: Tid tilbage
- type: tile
entity: binary_sensor.dishwasher_svigt
name: Fejl
# 🗑️ Affald
- type: grid
cards:
- type: heading
heading: Affald
- type: entities
entities:
- sensor.affalddk_norgardsvej_22_restaffald
- sensor.affalddk_norgardsvej_22_papir_plast
- sensor.affalddk_norgardsvej_22_haveaffald
# 🎵 Sonos
- type: grid
cards:
- type: heading
heading: Sonos
- type: glance
entities:
- media_player.stue
- media_player.andreas
- media_player.daniel
- media_player.kokken
# 📡 Kamera indikator
- type: grid
cards:
- type: heading
heading: Kamera
- type: glance
entities:
- binary_sensor.indkoersel_person
- binary_sensor.indkoersel_vehicle
- binary_sensor.terrasse_person
# 🌐 System
- type: grid
cards:
- type: heading
heading: System
- type: tile
entity: sensor.home_assistant_website
name: HA Version
- type: tile
entity: binary_sensor.home_assistant_website_update_available
name: Opdatering
- type: tile
entity: sensor.speedtest_download
name: Download
- type: tile
entity: sensor.speedtest_upload
name: Upload
- type: tile
entity: sensor.speedtest_ping
name: Ping
+34
View File
@@ -0,0 +1,34 @@
title: Person Status
path: person-status
icon: mdi:account-group
type: sections
sections:
- type: grid
cards:
- type: heading
heading: Person status
- type: entities
title: Daniel
entities:
- entity: person.daniel_schusler_dethlefsen
- entity: input_select.daniel_status
- type: entities
title: Claus
entities:
- entity: person.claus_dethlefsen
- entity: input_select.claus_status
- type: entities
title: Anne
entities:
- entity: person.anne_schusler_dethlefsen
- entity: input_select.anne_status
- type: entities
title: Andreas
entities:
- entity: person.andreas_schusler_dethlefsen
- entity: input_select.andreas_status
+5
View File
@@ -0,0 +1,5 @@
title: Rum
path: rooms
icon: mdi:floor-plan
type: sections
sections: []
+129
View File
@@ -0,0 +1,129 @@
title: Støvsuger
path: vacuum
icon: mdi:robot-vacuum
type: sections
sections:
# 🧹 Oversigt
- type: grid
cards:
- type: heading
heading: Støvsuger
- type: tile
entity: vacuum.roborock_s8_pro_ultra
name: Roborock
- type: tile
entity: sensor.roborock_s8_pro_ultra_status
name: Status
- type: tile
entity: sensor.roborock_s8_pro_ultra_vacuum_error
name: Fejl
- type: tile
entity: binary_sensor.roborock_s8_pro_ultra_cleaning
name: Rengøring i gang
- type: image
entity: image.roborock_s8_pro_ultra_map_0
name: Kort
camera_image: image.roborock_s8_pro_ultra_map_0
show_state: false
# 📊 Historik
- type: grid
cards:
- type: history-graph
title: Rengøringshistorik
entities:
- sensor.roborock_s8_pro_ultra_status
hours_to_show: 24
refresh_interval: 60
# 🏠 Rum-knapper
- type: grid
cards:
- type: button
name: Køkken + Bryggers
icon: mdi:floor-plan
tap_action:
action: call-service
service: button.press
target:
entity_id: button.roborock_s8_pro_ultra_kokken_bryggers
- type: button
name: Syd
icon: mdi:floor-plan
tap_action:
action: call-service
service: button.press
target:
entity_id: button.roborock_s8_pro_ultra_syd
- type: button
name: Syd + Mop
icon: mdi:floor-plan
tap_action:
action: call-service
service: button.press
target:
entity_id: button.roborock_s8_pro_ultra_syd_vask
- type: button
name: Følg mop
icon: mdi:floor-plan
tap_action:
action: call-service
service: button.press
target:
entity_id: button.roborock_s8_pro_ultra_vac_followed_by_mop
# ⚙️ Automations-knapper
- type: grid
cards:
- type: heading
heading: Automations
- type: button
name: Rengør hele huset
icon: mdi:home
tap_action:
action: call-service
service: vacuum.start
target:
entity_id: vacuum.roborock_s8_pro_ultra
- type: button
name: Start mop
icon: mdi:water
tap_action:
action: call-service
service: vacuum.start
target:
entity_id: vacuum.roborock_s8_pro_ultra
data:
mode: mop # kun hvis integrationen understøtter mop mode
- type: button
name: Stop
icon: mdi:stop
tap_action:
action: call-service
service: vacuum.stop
target:
entity_id: vacuum.roborock_s8_pro_ultra
# ⚠️ Dock status
- type: grid
cards:
- type: tile
entity: sensor.roborock_s8_pro_ultra_dock_error
name: Dock fejl
+5
View File
@@ -0,0 +1,5 @@
title: Energi
path: energy
icon: mdi:flash
type: sections
sections: []