Hi all. I really home this is the right place
so i’m using the custom vacuum card for my smart vacuum and when I added which map it should use it changes the image to the map instead of the cool vacuum image.
Also once the vacuum starts cleaning the entire card disappears until it has finished cleaning
can some tell me what i’m doing wrong?
Gonna add the code i have…
CODE:
type: custom:vacuum-card
entity: vacuum.xiaomi_robot_vacuum_x10
map: camera.xiaomi_robot_vacuum_x10_map_2
map_refresh: 1
stats:
default:
* attribute: filter_left
unit: "%"
subtitle: Filter
* attribute: side_brush_left
unit: "%"
subtitle: Side brush
* attribute: main_brush_left
unit: "%"
subtitle: Main brush
* attribute: mop_pad_left
unit: "%"
subtitle: Mop pad
cleaning:
* entity_id: sensor.vacuum_main_brush_left
value_template: "{{ (value | float(0) / 3600) | round(1) }}"
subtitle: Main brush
unit: "%"
* attribute: cleaning_time
unit: hours
subtitle: Cleaning time
shortcuts:
* name: Clean living room
service: script.clean_living_room
icon: mdi:sofa
* name: Clean bedroom
service: script.clean_bedroom
icon: mdi:bed-empty
* name: Clean kitchen
service: script.clean_kitchen
icon: mdi:silverware-fork-knife
layout_options:
grid_columns: full
grid_rows: 8