-
-
Notifications
You must be signed in to change notification settings - Fork 253
/
Copy pathrand256_valetudo_re.json
56 lines (56 loc) · 1.96 KB
/
rand256_valetudo_re.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"map_modes": {
"defaultTemplates": [],
"templates": {
"vacuum_clean_segment": {
"name": "map_mode.vacuum_clean_segment",
"icon": "mdi:floor-plan",
"selection_type": "ROOM",
"repeats_type": "REPEAT",
"max_repeats": 3,
"service_call_schema": {
"service": "mqtt.publish",
"service_data": {
"topic": "[[topic]]/custom_command",
"payload": "{ \"command\": \"segmented_cleanup\", \"segment_ids\": [[selection]], \"repeats\": [[repeats]], \"afterCleaning\": \"Base\" }"
}
}
},
"vacuum_goto_predefined": {
"name": "map_mode.vacuum_goto_predefined",
"icon": "mdi:map-marker",
"selection_type": "ROOM",
"repeats_type": "NONE",
"service_call_schema": {
"service": "mqtt.publish",
"service_data": {
"topic": "[[topic]]/custom_command",
"payload": "{ \"command\": \"go_to\", \"spot_id\": \"[[selection_unwrapped]]\" }"
}
}
}
}
},
"tiles": {
"from_attributes": [
{
"attribute": "filter",
"label": "tile.filter_left.label",
"icon": "mdi:air-filter",
"unit": "unit.hour_shortcut"
},
{
"attribute": "mainBrush",
"label": "tile.main_brush_left.label",
"icon": "mdi:brush",
"unit": "unit.hour_shortcut"
},
{
"attribute": "sideBrush",
"label": "tile.side_brush_left.label",
"icon": "mdi:brush",
"unit": "unit.hour_shortcut"
}
]
}
}