Files
N22/dashboards/views/06_vacuum.yaml
T

125 lines
2.8 KiB
YAML

title: Støvsuger
path: vacuum
icon: mdi:robot-vacuum
type: sections
sections:
# 🧹 Oversigt
- type: grid
cards:
- type: heading
heading: Støvsuger
# Statisk kortbillede uden overlay
- type: picture-entity
entity: image.roborock_s8_pro_ultra_map_0
name: Kort
- 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
# 🏠 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
# 📊 Historik
- type: grid
cards:
- type: history-graph
title: Rengøringshistorik
entities:
- sensor.roborock_s8_pro_ultra_status
hours_to_show: 24
refresh_interval: 60
# ⚙️ 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