Pastebin

mdi map marker

mdi map marker from Pastebin

Mind map maker Pastebin
    
        type: custom:xiaomi-vacuum-map-card
entity: vacuum.roborock_s5_max
map_source:
  camera: camera.roborock_s5_max
  crop:
    bottom: 20
    top: 100
    left: 20
    right: 80
calibration_source:
  camera: true
map_modes:
- template: vacuum_clean_zone
- template: vacuum_goto
- template: vacuum_follow_path
- template: vacuum_clean_zone_predefined
  predefined_selections:
  - zones:
    - - 24341
      - 24380
      - 27310
      - 28178
  - zones:
    - - 20157
      - 24492
      - 21514
      - 26893
    - - 16659
      - 23500
      - 20209
      - 24648
    - - 21775
      - 23448
      - 25220
      - 24231
    - - 20157
      - 23448
      - 22036
      - 24492
  - zones:
    - - 18747
      - 20368
      - 21723
      - 23552
    - - 19376
      - 19718
      - 21679
      - 20386
  - zones:
    - - 21723
      - 19689
      - 24751
      - 23239
  - zones:
    - - 17889
      - 14864
      - 22974
      - 19710
  - zones:
    - - 23070
      - 15056
      - 26525
      - 17983
map_locked: true
two_finger_pan: false
icons:
- icon: mdi:play
  conditions:
  - entity: vacuum.roborock_s5_max
    value_not: cleaning
  - entity: vacuum.roborock_s5_max
    value_not: error
  - entity: vacuum.roborock_s5_max
    value_not: returning
  tooltip: Start
  tap_action:
    action: call-service
    service: vacuum.start
    service_data:
      entity_id: vacuum.roborock_s5_max
- icon: mdi:pause
  conditions:
  - entity: vacuum.roborock_s5_max
    value_not: docked
  - entity: vacuum.roborock_s5_max
    value_not: idle
  - entity: vacuum.roborock_s5_max
    value_not: error
  - entity: vacuum.roborock_s5_max
    value_not: paused
  tooltip: Pause
  tap_action:
    action: call-service
    service: vacuum.pause
    service_data:
      entity_id: vacuum.roborock_s5_max
- icon: mdi:stop
  conditions:
  - entity: vacuum.roborock_s5_max
    value_not: docked
  - entity: vacuum.roborock_s5_max
    value_not: idle
  - entity: vacuum.roborock_s5_max
    value_not: error
  - entity: vacuum.roborock_s5_max
    value_not: paused
  tooltip: Stop
  tap_action:
    action: call-service
    service: vacuum.stop
    service_data:
      entity_id: vacuum.roborock_s5_max
- icon: mdi:home-map-marker
  conditions:
  - entity: vacuum.roborock_s5_max
    value_not: docked
  tooltip: Return to base
  tap_action:
    action: call-service
    service: vacuum.return_to_base
    service_data:
      entity_id: vacuum.roborock_s5_max
- icon: mdi:target-variant
  conditions:
  - entity: vacuum.roborock_s5_max
    value_not: docked
  - entity: vacuum.roborock_s5_max
    value_not: error
  - entity: vacuum.roborock_s5_max
    value_not: cleaning
  tooltip: Clean spot
  tap_action:
    action: call-service
    service: vacuum.clean_spot
    service_data:
      entity_id: vacuum.roborock_s5_max
- icon: mdi:map-marker
  tooltip: Locate
  tap_action:
    action: call-service
    service: vacuum.locate
    service_data:
      entity_id: vacuum.roborock_s5_max
- icon: mdi:fan-remove
  conditions:
  - entity: vacuum.roborock_s5_max
    attribute: fan_speed
    value: Silent
  tooltip: Change fan speed
  tap_action:
    action: call-service
    service: vacuum.set_fan_speed
    service_data:
      entity_id: vacuum.roborock_s5_max
      fan_speed: Standard
- icon: mdi:fan-speed-1
  conditions:
  - entity: vacuum.roborock_s5_max
    attribute: fan_speed
    value: Standard
  tooltip: Change fan speed
  tap_action:
    action: call-service
    service: vacuum.set_fan_speed
    service_data:
      entity_id: vacuum.roborock_s5_max
      fan_speed: Medium
- icon: mdi:fan-speed-2
  conditions:
  - entity: vacuum.roborock_s5_max
    attribute: fan_speed
    value: Medium
  tooltip: Change fan speed
  tap_action:
    action: call-service
    service: vacuum.set_fan_speed
    service_data:
      entity_id: vacuum.roborock_s5_max
      fan_speed: Turbo
- icon: mdi:fan-speed-3
  conditions:
  - entity: vacuum.roborock_s5_max
    attribute: fan_speed
    value: Turbo
  tooltip: Change fan speed
  tap_action:
    action: call-service
    service: vacuum.set_fan_speed
    service_data:
      entity_id: vacuum.roborock_s5_max
      fan_speed: Gentle
- icon: mdi:waves
  conditions:
  - entity: vacuum.roborock_s5_max
    attribute: fan_speed
    value: Gentle
  tooltip: Change fan speed
  tap_action:
    action: call-service
    service: vacuum.set_fan_speed
    service_data:
      entity_id: vacuum.roborock_s5_max
      fan_speed: Auto
- icon: mdi:fan-auto
  conditions:
  - entity: vacuum.roborock_s5_max
    attribute: fan_speed
    value: Auto
  tooltip: Change fan speed
  tap_action:
    action: call-service
    service: vacuum.set_fan_speed
    service_data:
      entity_id: vacuum.roborock_s5_max
      fan_speed: Silent