Dreame L20 Ultra Services how to find??? #737
-
Hey there, I am searching für a list for the service command für the dreame l20 ultra. I wand to configure the map card, but i dont have the correct service names where i can fin these? for example here ist my config: type: custom:xiaomi-vacuum-map-card
map_source:
camera: camera.l20_ultra_map
calibration_source:
camera: true
entity: vacuum.l20_ultra
vacuum_platform: Tasshack/dreame-vacuum
card_mod:
style: |
ha-card {
display: flex !important;
align-items: stretch;
flex-wrap: wrap;
justify-content: space-evenly;
}
.map-wrapper {
flex-grow: 3;
width: 600px;
}
.controls-wrapper {
flex-grow: 1;
width: 300px;
}
map_modes:
- template: vacuum_clean_zone
- template: vacuum_clean_point
- template: vacuum_clean_segment
predefined_selections:
- id: '1'
icon:
name: mdi:chef-hat
x: -5600
'y': 5050
label:
text: Kitchen
x: -5600
'y': 5050
offset_y: 35
outline:
- - -6300
- 3600
- - -1500
- 3600
- - -1500
- 6300
- - -6300
- 6300
- id: '2'
icon:
name: mdi:foot-print
x: -300
'y': 4850
label:
text: Corridor
x: -300
'y': 4850
offset_y: 35
outline:
- - -1500
- 3200
- - 1700
- 3200
- - 1700
- 7450
- - -1500
- 7450
- id: '3'
icon:
name: mdi:room-service-outline
x: -10350
'y': 5150
label:
text: Dining Hall
x: -10350
'y': 5150
offset_y: 35
outline:
- - -16000
- 2300
- - -6300
- 2300
- - -6300
- 7000
- - -16000
- 7000
- id: '4'
icon:
name: mdi:monitor-shimmer
x: 200
'y': 1300
label:
text: Office
x: 200
'y': 1300
offset_y: 35
outline:
- - -1650
- -800
- - 1700
- -800
- - 1700
- 3200
- - -1650
- 3200
- id: '5'
icon:
name: mdi:home-outline
x: -4050
'y': 1100
label:
text: Kinderzimmer
x: -4050
'y': 1100
offset_y: 35
outline:
- - -6550
- -800
- - -1650
- -800
- - -1650
- 2900
- - -6550
- 2900
- id: '6'
icon:
name: mdi:sofa-outline
x: -10100
'y': -1400
label:
text: Living Room
x: -10100
'y': -1400
offset_y: 35
outline:
- - -12750
- -6300
- - -6400
- -6300
- - -6400
- 3250
- - -12750
- 3250
- id: '7'
icon:
name: mdi:home-outline
x: -1350
'y': 8800
label:
text: Room 7
x: -1350
'y': 8800
offset_y: 35
outline:
- - -2700
- 7450
- - 600
- 7450
- - 600
- 11750
- - -2700
- 11750
- template: vacuum_clean_segment
predefined_selections:
- id: '1'
icon:
name: mdi:chef-hat
x: -5600
'y': 5050
label:
text: Kitchen
x: -5600
'y': 5050
offset_y: 35
outline:
- - -6300
- 3600
- - -1500
- 3600
- - -1500
- 6400
- - -6300
- 6400
- id: '2'
icon:
name: mdi:foot-print
x: -300
'y': 4850
label:
text: Corridor
x: -300
'y': 4850
offset_y: 35
outline:
- - -1500
- 3200
- - 1750
- 3200
- - 1750
- 7450
- - -1500
- 7450
- id: '3'
icon:
name: mdi:room-service-outline
x: -10350
'y': 5150
label:
text: Dining Hall
x: -10350
'y': 5150
offset_y: 35
outline:
- - -16000
- 2300
- - -6300
- 2300
- - -6300
- 7100
- - -16000
- 7100
- id: '4'
icon:
name: mdi:monitor-shimmer
x: 200
'y': 1300
label:
text: Office
x: 200
'y': 1300
offset_y: 35
outline:
- - -1650
- -850
- - 1750
- -850
- - 1750
- 3200
- - -1650
- 3200
- id: '5'
icon:
name: mdi:home-outline
x: -4050
'y': 1100
label:
text: Kinderzimmer
x: -4050
'y': 1100
offset_y: 35
outline:
- - -6550
- -850
- - -1650
- -850
- - -1650
- 2950
- - -6550
- 2950
- id: '6'
icon:
name: mdi:sofa-outline
x: -10100
'y': -1400
label:
text: Living Room
x: -10100
'y': -1400
offset_y: 35
outline:
- - -12850
- -6450
- - -6350
- -6450
- - -6350
- 3250
- - -12850
- 3250
- id: '7'
icon:
name: mdi:home-outline
x: -1350
'y': 8800
label:
text: Room 7
x: -1350
'y': 8800
offset_y: 35
outline:
- - -2700
- 7450
- - 600
- 7450
- - 600
- 11800
- - -2700
- 11800
tiles:
- tile_id: status
entity: vacuum.l20_ultra
label: Status
attribute: status
icon: mdi:robot-vacuum
translations:
starting: Starting
charger disconnected: Charger disconnected
idle: Idle
remote control active: Remote control active
cleaning: Cleaning
returning home: Returning home
manual mode: Manual mode
charging: Charging
charging problem: Charging problem
paused: Paused
spot cleaning: Spot cleaning
error: Error
shutting down: Shutting down
updating: Updating
docking: Docking
going to target: Going to target
zoned cleaning: Zoned cleaning
segment cleaning: Segment cleaning
emptying the bin: Emptying the bin
charging complete: Charging complete
device offline: Device offline
- tile_id: battery_level
entity: vacuum.l20_ultra
label: Battery
attribute: battery_level
icon: mdi:battery-charging-100
unit: '%'
- tile_id: fan_speed
entity: vacuum.l20_ultra
label: Fan speed
attribute: fan_speed
icon: mdi:fan
translations:
silent: Silent
standard: Standard
medium: Medium
turbo: Turbo
auto: Auto
gentle: Gentle
icons:
- icon: mdi:play
conditions:
- entity: vacuum.l20_ultra
value_not: cleaning
- entity: vacuum.l20_ultra
value_not: error
- entity: vacuum.l20_ultra
value_not: returning
tooltip: Start
tap_action:
action: call-service
service: vacuum.start
service_data:
entity_id: vacuum.l20_ultra
- icon: mdi:pause
conditions:
- entity: vacuum.l20_ultra
value_not: docked
- entity: vacuum.l20_ultra
value_not: idle
- entity: vacuum.l20_ultra
value_not: error
- entity: vacuum.l20_ultra
value_not: paused
tooltip: Pause
tap_action:
action: call-service
service: vacuum.pause
service_data:
entity_id: vacuum.l20_ultra
- icon: mdi:stop
conditions:
- entity: vacuum.l20_ultra
value_not: docked
- entity: vacuum.l20_ultra
value_not: idle
- entity: vacuum.l20_ultra
value_not: error
- entity: vacuum.l20_ultra
value_not: paused
tooltip: Stop
tap_action:
action: call-service
service: vacuum.stop
service_data:
entity_id: vacuum.l20_ultra
- icon: mdi:home-map-marker
conditions:
- entity: vacuum.l20_ultra
value_not: docked
- entity: vacuum.l20_ultra
value_not: returning
tooltip: Return to base
tap_action:
action: call-service
service: vacuum.return_to_base
service_data:
entity_id: vacuum.l20_ultra
- icon: mdi:target-variant
conditions:
- entity: vacuum.l20_ultra
value_not: docked
- entity: vacuum.l20_ultra
value_not: error
- entity: vacuum.l20_ultra
value_not: cleaning
- entity: vacuum.l20_ultra
value_not: returning
tooltip: Clean spot
tap_action:
action: call-service
service: vacuum.clean_spot
service_data:
entity_id: vacuum.l20_ultra
- icon: mdi:map-marker
tooltip: Locate
tap_action:
action: call-service
service: vacuum.locate
service_data:
entity_id: vacuum.l20_ultra
- icon: mdi:fan-alert
conditions:
- entity: vacuum.l20_ultra
attribute: fan_speed
value: 'off'
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.l20_ultra
fan_speed: silent
- icon: mdi:fan-alert
conditions:
- entity: vacuum.l20_ultra
attribute: fan_speed
value: silent
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.l20_ultra
fan_speed: balanced
- icon: mdi:fan-alert
conditions:
- entity: vacuum.l20_ultra
attribute: fan_speed
value: balanced
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.l20_ultra
fan_speed: turbo
- icon: mdi:fan-alert
conditions:
- entity: vacuum.l20_ultra
attribute: fan_speed
value: turbo
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.l20_ultra
fan_speed: max
- icon: mdi:fan-alert
conditions:
- entity: vacuum.l20_ultra
attribute: fan_speed
value: max
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.l20_ultra
fan_speed: max_plus
- icon: mdi:fan-alert
conditions:
- entity: vacuum.l20_ultra
attribute: fan_speed
value: max_plus
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.l20_ultra
fan_speed: custom
- icon: mdi:fan-alert
conditions:
- entity: vacuum.l20_ultra
attribute: fan_speed
value: custom
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.l20_ultra
fan_speed: 'off'
- icon: mdi:fan-alert
conditions:
- entity: vacuum.l20_ultra
attribute: fan_speed
value_not: 'off'
- entity: vacuum.l20_ultra
attribute: fan_speed
value_not: silent
- entity: vacuum.l20_ultra
attribute: fan_speed
value_not: balanced
- entity: vacuum.l20_ultra
attribute: fan_speed
value_not: turbo
- entity: vacuum.l20_ultra
attribute: fan_speed
value_not: max
- entity: vacuum.l20_ultra
attribute: fan_speed
value_not: max_plus
- entity: vacuum.l20_ultra
attribute: fan_speed
value_not: custom
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.l20_ultra
fan_speed: 'off'
- icon: mdi:wave
conditions:
- entity: vacuum.l20_ultra
attribute: waterBoxMode
value: 201
tooltip: Change mop intensity
tap_action:
action: call-service
service: dreame_vacuum.vacuum_set_custom_cleaning
service_data:
command: set_water_box_custom_mode
params: 202
target:
entity_id: vacuum.l20_ultra
- icon: mdi:waves-arrow-up
conditions:
- entity: vacuum.l20_ultra
attribute: waterBoxMode
value: 202
tooltip: Change mop intensity
tap_action:
action: call-service
service: vacuum.send_command
service_data:
command: set_water_box_custom_mode
params: 203
target:
entity_id: vacuum.l20_ultra
- icon: mdi:waves
conditions:
- entity: vacuum.l20_ultra
attribute: waterBoxMode
value: 203
tooltip: Change mop intensity
tap_action:
action: call-service
service: vacuum.send_command
service_data:
command: set_water_box_custom_mode
params: 200
target:
entity_id: vacuum.l20_ultra
- icon: mdi:waves
conditions:
- entity: vacuum.l20_ultra
attribute: waterBoxMode
value_not: 200
- entity: vacuum.l20_ultra
attribute: waterBoxMode
value_not: 201
- entity: vacuum.l20_ultra
attribute: waterBoxMode
value_not: 202
- entity: vacuum.l20_ultra
attribute: waterBoxMode
value_not: 203 |
Beta Was this translation helpful? Give feedback.
Answered by
PiotrMachowski
Jun 14, 2024
Replies: 2 comments 32 replies
-
Which services do you mean? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
32 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cleaning mode will not appear automatically, just "Mop Pad Humidity" or "Water Volume", so you have to add it manually: