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