mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
Add vacuum popup card
This commit is contained in:
@@ -473,3 +473,41 @@ sensor.average_humidity:
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /lovelace-main/climate
|
||||
|
||||
|
||||
vacuum.vacuum:
|
||||
title: Vacuum
|
||||
style: *broad_popup_style
|
||||
auto_close: true
|
||||
card:
|
||||
type: custom:layout-card
|
||||
layout: horizontal
|
||||
max_columns: 2
|
||||
cards:
|
||||
- type: custom:vacuum-card
|
||||
entity: vacuum.vacuum
|
||||
stats:
|
||||
default:
|
||||
- attribute: filter_left
|
||||
unit: hours
|
||||
subtitle: Filter
|
||||
- attribute: side_brush_left
|
||||
unit: hours
|
||||
subtitle: Side brush
|
||||
- attribute: main_brush_left
|
||||
unit: hours
|
||||
subtitle: Main brush
|
||||
- attribute: sensor_dirty_left
|
||||
unit: hours
|
||||
subtitle: Sensors
|
||||
cleaning:
|
||||
- attribute: cleaned_area
|
||||
unit: m2
|
||||
subtitle: Cleaning area
|
||||
- attribute: cleaning_time
|
||||
unit: minutes
|
||||
subtitle: Cleaning time
|
||||
- type: custom:xiaomi-vacuum-map-card
|
||||
entity: vacuum.vacuum
|
||||
camera_calibration: true
|
||||
map_camera: camera.xiaomi_cloud_map_extractor
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
url: /hacsfiles/lovelace-battery-entity-row/battery-entity-row.js
|
||||
- type: module
|
||||
url: /hacsfiles/button-card/button-card.js
|
||||
- type: module
|
||||
url: /hacsfiles/lovelace-card-tools/card-tools.js
|
||||
- type: module
|
||||
url: /hacsfiles/config-template-card/config-template-card.js
|
||||
- type: module
|
||||
|
||||
Reference in New Issue
Block a user