From 96989411f78bd0e44a2739171742623a2a337a71 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Sun, 22 Mar 2026 18:28:47 +0100 Subject: [PATCH] =?UTF-8?q?feat(vacuum):=20Tilf=C3=B8j=20komplet=20Roboroc?= =?UTF-8?q?k=20view=20med=20historik=20og=20automations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- dashboards/views/03_vacuum.yaml | 129 ++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 dashboards/views/03_vacuum.yaml diff --git a/dashboards/views/03_vacuum.yaml b/dashboards/views/03_vacuum.yaml new file mode 100644 index 0000000..3888c97 --- /dev/null +++ b/dashboards/views/03_vacuum.yaml @@ -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