Additional presets/load multi map does not update map #511
-
Hi. type: custom:xiaomi-vacuum-map-card
preset_name: Makumba Parter
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
entity: vacuum.makumba
vacuum_platform: default
title: ''
activate_on_switch: true
activate:
service: vacuum.send_command
service_data:
entity_id: vacuum.makumba
command: load_multi_map
params: 1
append_icons: true
icons:
- icon: mdi:home-floor-0
tap_action:
action: call-service
service: vacuum.send_command
service_data:
command: load_multi_map
params: 1
entity_id: vacuum.makumba
- icon: mdi:home-floor-1
tap_action:
action: call-service
service: vacuum.send_command
service_data:
command: load_multi_map
params: 0
entity_id: vacuum.makumba
map_locked: true
map_modes:
- template: vacuum_clean_zone
- template: vacuum_clean_zone_predefined
predefined_selections:
- zones:
- - 16623
- 22366
- 26814
- 28602
- template: vacuum_goto
additional_presets:
- preset_name: Makumba Piętro
entity: vacuum.makumba
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
map_locked: true
append_icons: false
icons: []
activate_on_switch: true
activate:
service: vacuum.send_command
service_data:
entity_id: vacuum.makumba
command: load_multi_map
params: 0
map_modes:
- template: vacuum_clean_zone
- template: vacuum_goto configuration.yaml setup: camera:
- platform: xiaomi_cloud_map_extractor
host: !secret xiaomi_vacuum_host
token: !secret xiaomi_vacuum_token
username: !secret xiaomi_cloud_username
password: !secret xiaomi_cloud_password
draw: ['all']
auto_update: false
attributes:
- calibration_points
- rooms
store_map_raw: true But map is updated when i call: type: button
tap_action:
action: call-service
service: homeassistant.update_entity
target:
entity_id: camera.xiaomi_cloud_map_extractor I also have configured Update Map Extractor camera blueprint. |
Beta Was this translation helpful? Give feedback.
Answered by
PiotrMachowski
Jan 31, 2024
Replies: 2 comments 1 reply
-
Because of camera blueprint the map isn't updated. You can create an automation that will listen to |
Beta Was this translation helpful? Give feedback.
0 replies
-
It works but it is a workaround. Shouldn't it update y default? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The command is sent to the vacuum, Map Extractor is not aware of this change. I can potentially add this functionality to the blueprint.
To manage mop settings you have to use appropriate integration that controls the vacuum. Map Extractor just downloads the map