Problem with Dreame D9 integration #420
-
Could You please help me, I'm trying to put my dreame D9 to work with HA. I've got maps from cloud map extractor, I've integrated D9 using Xiaomi miot (I've only got few attributes, if I use HACS dreame D9 integration I've got more like filter time left, brush time left). I've created this script in HA script menu:
and this is my UI card
this show after holding start button: [140114656299904] what am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You have invalid indentation in your card config type: custom:xiaomi-vacuum-map-card
entity: vacuum.p2009_d4d2d6f9d6cd
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
map_modes:
- template: vacuum_goto
- template: vacuum_clean_zone
max_selections: 1
repeats_type: EXTERNAL
max_repeats: 5
service_call_schema:
service: xiaomi_miot.call_action
service_data:
entity_id: '[[entity_id]]'
siid: 4
aiid: 1
params:
- piid: 1
value: 19
- piid: 10
value: '{"areas":[[[[selection_unwrapped]],[[repeats]],1,1]]}'
force_params: true
- template: vacuum_clean_segment
max_selections: 1
repeats_type: EXTERNAL
max_repeats: 5
service_call_schema:
service: xiaomi_miot.call_action
service_data:
entity_id: '[[entity_id]]'
siid: 4
aiid: 1
params:
- piid: 1
value: 18
- piid: 10
value: '{"selects":[[[[selection_unwrapped]],[[repeats]],3,3,1]]}'
force_params: true
predefined_selections:
- id: 4
label:
text: Room 4
x: 300
'y': 2925
offset_y: 35
icon:
name: mdi:broom
x: 300
'y': 2925
- id: 5
label:
text: Room 5
x: -3975
'y': 1950
offset_y: 35
icon:
name: mdi:broom
x: -3975
'y': 1950
- id: 1
label:
text: Room 1
x: 950
'y': 3050
offset_y: 35
icon:
name: mdi:broom
x: 950
'y': 3050
- id: 6
label:
text: Room 6
x: 1350
'y': 5075
offset_y: 35
icon:
name: mdi:broom
x: 1350
'y': 5075
- id: 3
label:
text: Room 3
x: -3575
'y': 7050
offset_y: 35
icon:
name: mdi:broom
x: -3575
'y': 7050
- id: 2
label:
text: Room 2
x: 650
'y': 7775
offset_y: 35
icon:
name: mdi:broom
x: 650
'y': 7775
vacuum_platform: send_command |
Beta Was this translation helpful? Give feedback.
You have invalid indentation in your card config