Closed linuxstony closed 1 year ago
Can you try to replace room IDs the following way:
'16'
-> 16
Thanks @PiotrMachowski for the swift response. I amended all IDs and removed the " ' " in the yaml-editor for the card configuration.
When I press "Go" the green status Popup with "Success!" appears but the error remains the same in the logs and the robot does not move.
Can you try this config?
- type: custom:xiaomi-vacuum-map-card
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
entity: vacuum.roborock_vacuum_m1s
vacuum_platform: default
map_modes:
- template: vacuum_clean_zone
- template: vacuum_goto
- template: vacuum_clean_segment
service_call_schema:
service: xiaomi_miio.vacuum_clean_segment
service_data:
segments: '[[selection]]'
entity_id: '[[entity_id]]'
predefined_selections:
- id: 16
icon:
name: mdi:broom
x: 21775
'y': 25375
label:
text: Eingang
x: 21775
'y': 25375
offset_y: 35
outline:
- - 21250
- 24900
- - 22300
- 24900
- - 22300
- 25850
- - 21250
- 25850
- id: 17
icon:
name: mdi:broom
x: 22000
'y': 19250
label:
text: Kueche
x: 22000
'y': 19250
offset_y: 35
outline:
- - 20850
- 18500
- - 23150
- 18500
- - 23150
- 20000
- - 20850
- 20000
- id: 18
icon:
name: mdi:broom
x: 21700
'y': 22850
label:
text: Flur
x: 21700
'y': 22850
offset_y: 35
outline:
- - 20250
- 20800
- - 23150
- 20800
- - 23150
- 24900
- - 20250
- 24900
- id: 19
icon:
name: mdi:broom
x: 24650
'y': 24025
label:
text: Wohnzimmer
x: 24650
'y': 24025
offset_y: 35
outline:
- - 22400
- 22100
- - 26900
- 22100
- - 26900
- 25950
- - 22400
- 25950
- id: 20
icon:
name: mdi:broom
x: 28650
'y': 22550
label:
text: Wintergarten
x: 28650
'y': 22550
offset_y: 35
outline:
- - 26900
- 20500
- - 30400
- 20500
- - 30400
- 24600
- - 26900
- 24600
- id: 21
icon:
name: mdi:broom
x: 24975
'y': 20075
label:
text: Esszimmer
x: 24975
'y': 20075
offset_y: 35
outline:
- - 23150
- 18050
- - 26800
- 18050
- - 26800
- 22100
- - 23150
- 22100
- id: 23
icon:
name: mdi:broom
x: 26000
'y': 25350
label:
text: Kamin
x: 26000
'y': 25350
offset_y: 35
outline:
- - 25300
- 24700
- - 26700
- 24700
- - 26700
- 26000
- - 25300
- 26000
map_locked: false
two_finger_pan: false
That config works !! I am on my way to bed so I cant tell you in all detail how thankful I am - so - THANKS !!! I don't know what you did (no time to compare) but it works like charm with a first test. <3
Great! So this was a problem with a workaround that I have added to fix a bug within HA itself - it seems that it doesn't work for all vacuums. It should be fixed in next HA release
Checklist
The problem
I updated HA to the latest version and after that the card sadly stopped working in one area. I am able to select the rooms I have configured and hit start. It reports "Succeeded" but in the logs the above mentioned error occurs.
I apologize if this is a simple error on my part, but it was ages ago that I configured the vacuum and it used to work flawlessly until now.
Sadly I am at a loss where to look or where to fix it. So i am taking the official route and hope you can help this noob with this problem.
Your help is deeply appreciated.
Stefan
P.S.: Every other features works as intended - I can start the cleaning for the hole floor, stop, send home etc. Only Room selection is broken somehow.
What version of a card has described problem?
2.2.2
What was the last working version card?
2.2.0?
What vacuum model do you have problems with?
roborock.vacuum.m1s
Which integration do you use to control your vacuum (link)?
https://www.home-assistant.io/integrations/xiaomi_miio/
What browser (browsers/apps) does have this problem?
Firefox/Homassistant App
What version of Home Assistant do you use?
Home Assistant 2023.7.2 Frontend 20230705.1 - latest
What type of installation are you running?
Home Assistant Container
Card's configuration
Javascript errors shown in the browser's console (if applicable)
No response
Additional information
No response