From 4c15a77e4a10936f230674504ab8f3d360ba4e1b Mon Sep 17 00:00:00 2001 From: SCA075 <82227818+sca075@users.noreply.github.com> Date: Sun, 26 Nov 2023 12:27:39 +0100 Subject: [PATCH] Delete src/rand256_valetudo_re.json --- src/rand256_valetudo_re.json | 142 ----------------------------------- 1 file changed, 142 deletions(-) delete mode 100644 src/rand256_valetudo_re.json diff --git a/src/rand256_valetudo_re.json b/src/rand256_valetudo_re.json deleted file mode 100644 index 1ba35e0d..00000000 --- a/src/rand256_valetudo_re.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "map_modes": { - "default_templates": [ - "vacuum_clean_zone", - "vacuum_clean_zone_predefined", - "vacuum_goto", - "vacuum_goto_predefined" - ], - "templates": { - "vacuum_clean_segment": { - "name": "map_mode.vacuum_clean_segment", - "icon": "mdi:floor-plan", - "id_type": "number", - "selection_type": "ROOM", - "repeats_type": "EXTERNAL", - "max_repeats": 3, - "service_call_schema": { - "service": "mqtt.publish", - "evaluate_data_as_template": true, - "service_data": { - "topic": "[[topic]]/custom_command", - "payload": "{ \"command\": \"segmented_cleanup\", \"segment_ids\": [[selection]], \"repeats\": [[repeats]], \"afterCleaning\": \"{{ 'Base' if 'afterCleaning' in '[[afterCleaning]]' else '[[afterCleaning]]'}}\" }" - } - } - }, - "vacuum_clean_zone": { - "name": "map_mode.vacuum_clean_zone", - "icon": "mdi:select-drag", - "selection_type": "MANUAL_RECTANGLE", - "coordinates_rounding": true, - "coordinates_to_meters_divider": 1000, - "repeats_type": "EXTERNAL", - "max_selections": 5, - "max_repeats": 3, - "service_call_schema": { - "service": "mqtt.publish", - "evaluate_data_as_template": true, - "service_data": { - "topic": "[[topic]]/custom_command", - "payload": "{\"command\": \"zoned_cleanup\",\"zone_coordinates\": [{%for s in ('[[selection]]')|from_json %}{ \"x1\": {{s[0]}}, \"y1\": {{s[1]}}, \"x2\": {{s[2]}}, \"y2\": {{s[3]}}, \"repeats\": [[repeats]]}{%if not loop.last%},{%endif%}{%endfor%}],\"afterCleaning\": \"{{ 'Base' if 'afterCleaning' in '[[afterCleaning]]' else '[[afterCleaning]]'}}\"}" - } - } - }, - "vacuum_clean_zone_predefined": { - "name": "map_mode.vacuum_clean_zone_predefined", - "icon": "mdi:floor-plan", - "selection_type": "PREDEFINED_RECTANGLE", - "repeats_type": "EXTERNAL", - "max_repeats": 3, - "service_call_schema": { - "service": "mqtt.publish", - "evaluate_data_as_template": true, - "service_data": { - "topic": "[[topic]]/custom_command", - "payload": "{\"command\": \"zoned_cleanup\",\"zone_ids\": [{%for s in ('[[selection]]')|from_json %}{ \"id\": \"{{s}}\", \"repeats\": [[repeats]]}{%if not loop.last%},{%endif%}{%endfor%}],\"afterCleaning\": \"{{ 'Base' if 'afterCleaning' in '[[afterCleaning]]' else '[[afterCleaning]]'}}\"}" - } - } - }, - "vacuum_goto": { - "name": "map_mode.vacuum_goto", - "icon": "mdi:map-marker-plus", - "selection_type": "MANUAL_POINT", - "coordinates_rounding": true, - "coordinates_to_meters_divider": 1000, - "repeats_type": "NONE", - "service_call_schema": { - "service": "mqtt.publish", - "service_data": { - "topic": "[[topic]]/custom_command", - "payload": "{ \"command\": \"go_to\", \"spot_coordinates\": { \"x\": [[point_x]], \"y\": [[point_y]] } }" - } - } - }, - "vacuum_goto_predefined": { - "name": "map_mode.vacuum_goto_predefined", - "icon": "mdi:map-marker", - "max_selections": 1, - "selection_type": "PREDEFINED_POINT", - "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": [ - { - "tile_id": "filter_left", - "attribute": "filter", - "label": "tile.filter_left.label", - "icon": "mdi:air-filter", - "unit": "unit.hour_shortcut", - "hold_action": { - "action": "call-service", - "service": "mqtt.publish", - "confirmation": {}, - "service_data": { - "topic": "[[topic]]/custom_command", - "payload": "{\"command\": \"reset_consumable\",\n\"consumable\": \"filter_work_time\"}" - } - } - }, - { - "tile_id": "main_brush_left", - "attribute": "mainBrush", - "label": "tile.main_brush_left.label", - "icon": "mdi:brush", - "unit": "unit.hour_shortcut", - "hold_action": { - "action": "call-service", - "service": "mqtt.publish", - "confirmation": {}, - "service_data": { - "topic": "[[topic]]/custom_command", - "payload": "{\"command\": \"reset_consumable\",\n\"consumable\": \"main_brush_work_time\"}" - } - } - }, - { - "tile_id": "side_brush_left", - "attribute": "sideBrush", - "label": "tile.side_brush_left.label", - "icon": "mdi:brush", - "unit": "unit.hour_shortcut", - "hold_action": { - "action": "call-service", - "service": "mqtt.publish", - "confirmation": {}, - "service_data": { - "topic": "[[topic]]/custom_command", - "payload": "{\"command\": \"reset_consumable\",\n\"consumable\": \"side_brush_work_time\"}" - } - } - } - ] - } -}