Sure!
- title: Vacuum
path: vacuum
icon: mdi:robot-vacuum
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:xiaomi-vacuum-card
entity: vacuum.lucineide
image: /local/vacuum/vacuum.png
name: Lucineide
vendor: xiaomi
attributes:
mop_attached:
key: mop_attached
label: 'Mop: '
- type: horizontal-stack
cards:
- elements:
- entity: sensor.lucineide_side_brush_remaining
style:
background-color: rgba(0, 0, 0, 0.3)
bottom: 0px
color: orange
font-size: 30px
left: 0px
right: 0px
transform: translate(0%,0%)
title: '% Remaining Until Side Brush Should Be Replaced'
type: state-label
- entity: sensor.lucineide_side_brush_hrs_remaining
style:
bottom: 0px
color: white
font-size: 16px
line-height: 16px
right: 0px
transform: translate(0%,0%)
prefix: 'Remaining '
title: Hours Remaining Until Side Brush Should Be Replaced
type: state-label
- icon: mdi:restart
style:
color: white
padding: 7px
right: 0px
top: 0px
transform: translate(0%,0%)
tap_action:
action: call-service
confirmation:
text: >-
Are you sure you want to reset the hours remaining
counter for replacing the side brush?
service: vacuum.send_command
service_data:
command: reset_consumable
entity_id: vacuum.lucineide
params:
- side_brush_work_time
title: Reset Hours
type: icon
image: /local/vacuum/side_brush.png
type: picture-elements
- elements:
- entity: sensor.lucineide_sensors_remaining
style:
background-color: rgba(0, 0, 0, 0.3)
bottom: 0px
color: orange
font-size: 30px
left: 0px
right: 0px
transform: translate(0%,0%)
title: '% Remaining Until Sensors Should Be Cleaned'
type: state-label
- entity: sensor.lucineide_sensors_hrs_remaining
style:
bottom: 0px
color: white
font-size: 16px
line-height: 16px
right: 0px
transform: translate(0%,0%)
prefix: 'Remaining '
title: Hours Remaining Until Sensors Should Be Cleaned
type: state-label
- icon: mdi:restart
style:
color: white
padding: 7px
right: 0px
top: 0px
transform: translate(0%,0%)
tap_action:
action: call-service
confirmation:
text: >-
Are you sure you want to reset the hours remaining
counter for cleaning the sensors?
service: vacuum.send_command
service_data:
command: reset_consumable
entity_id: vacuum.lucineide
params:
- sensor_dirty_time
title: Reset Hours
type: icon
image: /local/vacuum/sensors.png
type: picture-elements
- type: horizontal-stack
cards:
- elements:
- entity: sensor.lucineide_filter_remaining
style:
background-color: rgba(0, 0, 0, 0.3)
bottom: 0px
color: orange
font-size: 30px
left: 0px
right: 0px
transform: translate(0%,0%)
title: '% Remaining Until Filter Should Be Replaced'
type: state-label
- entity: sensor.lucineide_filter_hrs_remaining
style:
bottom: 0px
color: white
font-size: 16px
line-height: 16px
right: 0px
transform: translate(0%,0%)
prefix: 'Remaining '
title: Hours Remaining Until Filter Should Be Replaced
type: state-label
- icon: mdi:restart
style:
color: white
padding: 7px
right: 0px
top: 0px
transform: translate(0%,0%)
tap_action:
action: call-service
confirmation:
text: >-
Are you sure you want to reset the hours remaining
counter for replacing the filter?
service: vacuum.send_command
service_data:
command: reset_consumable
entity_id: vacuum.lucineide
params:
- filter_work_time
title: Reset Hours
type: icon
image: /local/vacuum/filter.png
type: picture-elements
- elements:
- entity: sensor.lucineide_main_brush_remaining
style:
background-color: rgba(0, 0, 0, 0.3)
bottom: 0px
color: orange
font-size: 30px
left: 0px
right: 0px
transform: translate(0%,0%)
title: '% Remaining Until Main Brush Should Be Replaced'
type: state-label
- entity: sensor.lucineide_main_brush_hrs_remaining
style:
bottom: 0px
color: white
font-size: 16px
line-height: 16px
right: 0px
transform: translate(0%,0%)
prefix: 'Remaining '
title: Hours Remaining Until Main Brush Should Be Replaced
type: state-label
- icon: mdi:restart
style:
color: white
padding: 7px
right: 0px
top: 0px
transform: translate(0%,0%)
tap_action:
action: call-service
confirmation:
text: >-
Are you sure you want to reset the hours remaining
counter for replacing the main brush?
service: vacuum.send_command
service_data:
command: reset_consumable
entity_id: vacuum.lucineide
params:
- main_brush_work_time
title: Reset Hours
type: icon
image: /local/vacuum/main_brush.png
type: picture-elements
- type: vertical-stack
cards:
- type: custom:xiaomi-vacuum-map-card
entity: vacuum.lucineide
map_camera: camera.lucineide_map
camera_calibration: true
- show_header: true
type: entities
entities:
- head:
entity: input_boolean.aspirar_iniciar
secondary_info: last-changed
icon: mdi:robot-vacuum
name: Start
type: custom:fold-entity-row
entities:
- entity: input_number.aspirar_cozinha
name: Kitchen
type: custom:numberbox-card
icon_plus: mdi:chevron-up
icon_minus: mdi:chevron-down
style: |
.cur-num{font-size:20px !important}
- entity: input_number.aspirar_sala
name: Living Room
type: custom:numberbox-card
icon_plus: mdi:chevron-up
icon_minus: mdi:chevron-down
style: |
.cur-num{font-size:20px !important}
- entity: input_number.aspirar_escritorio
name: Office
type: custom:numberbox-card
icon_plus: mdi:chevron-up
icon_minus: mdi:chevron-down
style: |
.cur-num{font-size:20px !important}
- entity: input_number.aspirar_hall_entrada
name: Hall
type: custom:numberbox-card
icon_plus: mdi:chevron-up
icon_minus: mdi:chevron-down
style: |
.cur-num{font-size:20px !important}
- entity: input_number.aspirar_wc
name: WC
type: custom:numberbox-card
icon_plus: mdi:chevron-up
icon_minus: mdi:chevron-down
style: |
.cur-num{font-size:20px !important}