Integration Xiaomi S12 Vacuum

Bonjour à tous,

Je viens d’essayer d’intégrer mon xiaomi S12.

En suivant les différents tutos et retours de votre part je cherche à créer la carte Lovelace Vacuum Map card.

Je rencontre des difficultés pour récupérer ma carte avec Xiaomi Cloud Map Extractor.

Dans mon fichier config.yaml, j’ai le code suivant :

camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret xiaomi_vacuum_host
    token: !secret xiaomi_vacuum_token
    username: !secret xiaomi_cloud_username
    password: !secret xiaomi_cloud_password
    draw: ['all']
    attributes:
      - calibration_points

Pour la carte :

type: custom:xiaomi-vacuum-map-card
title: Xiaomi Vacuum Map Card
preset_name: Live map
entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
map_source:
  camera: camera.camera_bob
calibration_source:
  camera: true
map_modes:
  - name: Zone cleanup
    icon: mdi:select-drag
    run_immediately: false
    coordinates_rounding: true
    coordinates_to_meters_divider: 1000
    selection_type: MANUAL_RECTANGLE
    max_selections: 5
    repeats_type: EXTERNAL
    max_repeats: 3
    service_call_schema:
      service: xiaomi_miio.vacuum_clean_zone
      service_data:
        zone: '[[selection]]'
        repeats: '[[repeats]]'
        entity_id: '[[entity_id]]'
    predefined_selections: []
    variables: {}
  - name: Zones list
    icon: mdi:floor-plan
    run_immediately: false
    coordinates_rounding: true
    coordinates_to_meters_divider: 1000
    selection_type: PREDEFINED_RECTANGLE
    max_selections: 5
    repeats_type: EXTERNAL
    max_repeats: 3
    service_call_schema:
      service: xiaomi_miio.vacuum_clean_zone
      service_data:
        zone: '[[selection]]'
        repeats: '[[repeats]]'
        entity_id: '[[entity_id]]'
    predefined_selections:
      - zones:
          - - 21485
            - 28767
            - 24236
            - 32131
          - - 23217
            - 27379
            - 24216
            - 28737
        label:
          text: Bedroom
          x: 22932
          'y': 30339
          offset_y: 35
        icon:
          name: mdi:bed
          x: 22932
          'y': 30339
      - zones:
          - - 27782
            - 27563
            - 29678
            - 29369
        label:
          text: Kitchen
          x: 28760
          'y': 28403
          offset_y: 35
        icon:
          name: mdi:pot-mix
          x: 28760
          'y': 28403
    variables: {}
  - name: Rooms
    icon: mdi:floor-plan
    run_immediately: false
    coordinates_rounding: true
    coordinates_to_meters_divider: 1000
    selection_type: ROOM
    id_type: number
    max_selections: 999
    repeats_type: EXTERNAL
    max_repeats: 3
    service_call_schema:
      service: vacuum.send_command
      service_data:
        command: app_segment_clean
        entity_id: '[[entity_id]]'
        params:
          - segments: '[[selection]]'
            repeat: '[[repeats]]'
    predefined_selections:
      - id: 1
        outline:
          - - 21458
            - 32131
          - - 24235
            - 32152
          - - 24194
            - 27409
          - - 23181
            - 27409
          - - 23160
            - 28807
          - - 21417
            - 28807
        label:
          text: Bedroom
          x: 22932
          'y': 30339
          offset_y: 35
        icon:
          name: mdi:bed
          x: 22932
          'y': 30339
      - id: 2
        outline:
          - - 21478
            - 27237
          - - 23048
            - 27250
          - - 23061
            - 25655
          - - 21478
            - 25680
        label:
          text: Bathroom
          x: 22282
          'y': 26496
          offset_y: 35
        icon:
          name: mdi:shower
          x: 22282
          'y': 26496
      - id: 3
        outline:
          - - 30417
            - 29895
          - - 30694
            - 29895
          - - 30694
            - 30338
          - - 31358
            - 30319
          - - 33221
            - 29194
          - - 33055
            - 28954
          - - 34715
            - 28087
          - - 36172
            - 27350
          - - 36153
            - 25966
          - - 35969
            - 25911
          - - 35969
            - 25155
          - - 34217
            - 25155
          - - 34180
            - 26151
          - - 31671
            - 26169
          - - 31653
            - 25173
          - - 30343
            - 25173
        label:
          text: Living room
          x: 33036
          'y': 27589
          offset_y: 35
        icon:
          name: mdi:television
          x: 33036
          'y': 27589
    variables: {}
  - name: Pin & Go
    icon: mdi:map-marker-plus
    run_immediately: false
    coordinates_rounding: true
    coordinates_to_meters_divider: 1000
    selection_type: MANUAL_POINT
    max_selections: 999
    repeats_type: NONE
    max_repeats: 1
    service_call_schema:
      service: xiaomi_miio.vacuum_goto
      service_data:
        x_coord: '[[point_x]]'
        y_coord: '[[point_y]]'
        entity_id: '[[entity_id]]'
    predefined_selections: []
    variables: {}
  - name: Points
    icon: mdi:map-marker
    run_immediately: false
    coordinates_rounding: true
    coordinates_to_meters_divider: 1000
    selection_type: PREDEFINED_POINT
    max_selections: 999
    repeats_type: NONE
    max_repeats: 1
    service_call_schema:
      service: xiaomi_miio.vacuum_goto
      service_data:
        x_coord: '[[point_x]]'
        y_coord: '[[point_y]]'
        entity_id: '[[entity_id]]'
    predefined_selections:
      - position:
          - 28006
          - 28036
        label:
          text: Emptying
          x: 28006
          'y': 28036
          offset_y: 35
        icon:
          name: mdi:broom
          x: 28006
          'y': 28036
      - position:
          - 32143
          - 26284
        label:
          text: Sofa
          x: 32143
          'y': 26284
          offset_y: 35
        icon:
          name: mdi:sofa
          x: 32143
          'y': 26284
    variables: {}
  - name: Path
    icon: mdi:map-marker-path
    run_immediately: false
    coordinates_rounding: true
    coordinates_to_meters_divider: 1000
    selection_type: MANUAL_PATH
    max_selections: 999
    repeats_type: NONE
    max_repeats: 1
    service_call_schema:
      service: script.vacuum_follow_path
      service_data:
        service: xiaomi_miio.vacuum_goto
        mode: individual
        path: '[[selection]]'
        entity_id: '[[entity_id]]'
    predefined_selections: []
    variables: {}
additional_presets:
  - preset_name: Static image
    entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
    map_source:
      image: /local/map_image.png
    calibration_source:
      calibration_points:
        - vacuum:
            x: 22633
            'y': 31641
          map:
            x: 322
            'y': 172
        - vacuum:
            x: 22633
            'y': 26514
          map:
            x: 322
            'y': 1342
        - vacuum:
            x: 34283
            'y': 26514
          map:
            x: 2993
            'y': 1342
    map_modes:
      - name: Zones
        icon: mdi:select-drag
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: MANUAL_RECTANGLE
        max_selections: 5
        repeats_type: INTERNAL
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_zones
          service_data:
            zones: '[[selection]]'
            repeats: '[[repeats]]'
            predefined: 'false'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections: []
        variables: {}
      - name: Predefined zones
        icon: mdi:texture-box
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: PREDEFINED_RECTANGLE
        max_selections: 5
        repeats_type: INTERNAL
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_zones
          service_data:
            zones: '[[selection]]'
            repeats: '[[repeats]]'
            predefined: 'true'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections:
          - zones:
              - - 21485
                - 28767
                - 24236
                - 32131
              - - 23217
                - 27379
                - 24216
                - 28737
            label:
              text: Bedroom
              x: 22932
              'y': 30339
              offset_y: 35
            icon:
              name: mdi:bed
              x: 22932
              'y': 30339
          - zones:
              - - 27782
                - 27563
                - 29678
                - 29369
            label:
              text: Kitchen
              x: 28760
              'y': 28403
              offset_y: 35
            icon:
              name: mdi:pot-mix
              x: 28760
              'y': 28403
        variables: {}
      - name: Rooms
        icon: mdi:floor-plan
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: ROOM
        max_selections: 5
        repeats_type: NONE
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_rooms
          service_data:
            rooms: '[[selection]]'
            predefined: 'true'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections:
          - id: 1
            outline:
              - - 21458
                - 32131
              - - 24235
                - 32152
              - - 24194
                - 27409
              - - 23181
                - 27409
              - - 23160
                - 28807
              - - 21417
                - 28807
            label:
              text: Bedroom
              x: 22932
              'y': 30339
              offset_y: 35
            icon:
              name: mdi:bed
              x: 22932
              'y': 30339
          - id: 2
            outline:
              - - 21478
                - 27237
              - - 23048
                - 27250
              - - 23061
                - 25655
              - - 21478
                - 25680
            label:
              text: Bathroom
              x: 22282
              'y': 26496
              offset_y: 35
            icon:
              name: mdi:shower
              x: 22282
              'y': 26496
          - id: 3
            outline:
              - - 30417
                - 29895
              - - 30694
                - 29895
              - - 30694
                - 30338
              - - 31358
                - 30319
              - - 33221
                - 29194
              - - 33055
                - 28954
              - - 34715
                - 28087
              - - 36172
                - 27350
              - - 36153
                - 25966
              - - 35969
                - 25911
              - - 35969
                - 25155
              - - 34217
                - 25155
              - - 34180
                - 26151
              - - 31671
                - 26169
              - - 31653
                - 25173
              - - 30343
                - 25173
            label:
              text: Living room
              x: 33036
              'y': 27589
              offset_y: 35
            icon:
              name: mdi:television
              x: 33036
              'y': 27589
        variables: {}
      - name: Path
        icon: mdi:map-marker-path
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: MANUAL_PATH
        max_selections: 5
        repeats_type: NONE
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_path
          service_data:
            path: '[[selection]]'
            repeats: '[[repeats]]'
            predefined: 'false'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections: []
        variables: {}
      - name: Manual Point
        icon: mdi:map-marker-plus
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: MANUAL_POINT
        max_selections: 5
        repeats_type: NONE
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_point
          service_data:
            point: '[[selection]]'
            point_x: '[[point_x]]'
            point_y: '[[point_y]]'
            repeats: '[[repeats]]'
            predefined: 'false'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections: []
        variables: {}
      - name: Predefined Point
        icon: mdi:map-marker
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: PREDEFINED_POINT
        max_selections: 5
        repeats_type: NONE
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_point
          service_data:
            point: '[[selection]]'
            repeats: '[[repeats]]'
            point_x: '[[point_x]]'
            point_y: '[[point_y]]'
            predefined: 'true'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections:
          - position:
              - 28006
              - 28036
            label:
              text: Emptying
              x: 28006
              'y': 28036
              offset_y: 35
            icon:
              name: mdi:broom
              x: 28006
              'y': 28036
          - position:
              - 32143
              - 26284
            label:
              text: Sofa
              x: 32143
              'y': 26284
              offset_y: 35
            icon:
              name: mdi:sofa
              x: 32143
              'y': 26284
        variables: {}
    icons:
      - icon: mdi:play
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: cleaning
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: error
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: returning
        tooltip: Start
        tap_action:
          action: call-service
          service: vacuum.start
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
      - icon: mdi:stop
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: docked
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: idle
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: error
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: paused
        tooltip: Stop
        tap_action:
          action: call-service
          service: vacuum.stop
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
      - icon: mdi:home-map-marker
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: docked
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: returning
        tooltip: Return to base
        tap_action:
          action: call-service
          service: vacuum.return_to_base
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
      - menu_id: fan_speed
        icon: mdi:fan-alert
        label: Slient
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value: Slient
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Slient
      - menu_id: fan_speed
        icon: mdi:fan-speed-1
        label: Standard
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value: Standard
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Standard
      - menu_id: fan_speed
        icon: mdi:fan-speed-2
        label: Medium
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value: Medium
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Medium
      - menu_id: fan_speed
        icon: mdi:fan-speed-3
        label: Turbo
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value: Turbo
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Turbo
      - icon: mdi:fan-alert
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value_not: Slient
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value_not: Standard
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value_not: Medium
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value_not: Turbo
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Slient
    tiles:
      - tile_id: battery_level
        entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        label: Battery
        attribute: battery_level
        icon_source: vacuum.xiaomi_b106eu_52ce_robot_cleaner.attributes.battery_icon
        unit: '%'
      - tile_id: fan_speed
        entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        label: Fan speed
        attribute: fan_speed
        icon: mdi:fan
        translations:
          silent: Silent
          standard: Standard
          medium: Medium
          turbo: Turbo
          auto: Auto
          gentle: Gentle
  - preset_name: Image with perspective
    entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
    map_source:
      image: /local/map_image_perspective_crop.png
    calibration_source:
      calibration_points:
        - vacuum:
            x: 22633
            'y': 31641
          map:
            x: 995
            'y': 144
        - vacuum:
            x: 22633
            'y': 26514
          map:
            x: 603
            'y': 797
        - vacuum:
            x: 34283
            'y': 26514
          map:
            x: 2515
            'y': 523
        - vacuum:
            x: 34283
            'y': 31641
          map:
            x: 2350
            'y': 61
    map_modes:
      - name: Zones
        icon: mdi:select-drag
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: MANUAL_RECTANGLE
        max_selections: 5
        repeats_type: INTERNAL
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_zones
          service_data:
            zones: '[[selection]]'
            repeats: '[[repeats]]'
            predefined: 'false'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections: []
        variables: {}
      - name: Predefined zones
        icon: mdi:texture-box
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: PREDEFINED_RECTANGLE
        max_selections: 5
        repeats_type: INTERNAL
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_zones
          service_data:
            zones: '[[selection]]'
            repeats: '[[repeats]]'
            predefined: 'true'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections:
          - zones:
              - - 21485
                - 28767
                - 24236
                - 32131
              - - 23217
                - 27379
                - 24216
                - 28737
            label:
              text: Bedroom
              x: 22932
              'y': 30339
              offset_y: 35
            icon:
              name: mdi:bed
              x: 22932
              'y': 30339
          - zones:
              - - 27782
                - 27563
                - 29678
                - 29369
            label:
              text: Kitchen
              x: 28760
              'y': 28403
              offset_y: 35
            icon:
              name: mdi:pot-mix
              x: 28760
              'y': 28403
          - zones:
              - - 33914
                - 26472
                - 35355
                - 29940
        variables: {}
      - name: Rooms
        icon: mdi:floor-plan
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: ROOM
        max_selections: 5
        repeats_type: NONE
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_rooms
          service_data:
            rooms: '[[selection]]'
            predefined: 'true'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections:
          - id: 1
            outline:
              - - 21458
                - 32131
              - - 24235
                - 32152
              - - 24194
                - 27409
              - - 23181
                - 27409
              - - 23160
                - 28807
              - - 21417
                - 28807
            label:
              text: Bedroom
              x: 22932
              'y': 30339
              offset_y: 35
            icon:
              name: mdi:bed
              x: 22932
              'y': 30339
          - id: 2
            outline:
              - - 21478
                - 27237
              - - 23048
                - 27250
              - - 23061
                - 25655
              - - 21478
                - 25680
            label:
              text: Bathroom
              x: 22282
              'y': 26496
              offset_y: 35
            icon:
              name: mdi:shower
              x: 22282
              'y': 26496
          - id: 3
            outline:
              - - 30417
                - 29895
              - - 30694
                - 29895
              - - 30694
                - 30338
              - - 31358
                - 30319
              - - 33221
                - 29194
              - - 33055
                - 28954
              - - 34715
                - 28087
              - - 36172
                - 27350
              - - 36153
                - 25966
              - - 35969
                - 25911
              - - 35969
                - 25155
              - - 34217
                - 25155
              - - 34180
                - 26151
              - - 31671
                - 26169
              - - 31653
                - 25173
              - - 30343
                - 25173
            label:
              text: Living room
              x: 33036
              'y': 27589
              offset_y: 35
            icon:
              name: mdi:television
              x: 33036
              'y': 27589
        variables: {}
      - name: Path
        icon: mdi:map-marker-path
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: MANUAL_PATH
        max_selections: 5
        repeats_type: NONE
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_path
          service_data:
            path: '[[selection]]'
            repeats: '[[repeats]]'
            predefined: 'false'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections: []
        variables: {}
      - name: Manual Point
        icon: mdi:map-marker-plus
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: MANUAL_POINT
        max_selections: 5
        repeats_type: NONE
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_point
          service_data:
            point: '[[selection]]'
            point_x: '[[point_x]]'
            point_y: '[[point_y]]'
            repeats: '[[repeats]]'
            predefined: 'false'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections: []
        variables: {}
      - name: Predefined Point
        icon: mdi:map-marker
        run_immediately: false
        coordinates_rounding: true
        coordinates_to_meters_divider: 1000
        selection_type: PREDEFINED_POINT
        max_selections: 5
        repeats_type: NONE
        max_repeats: 5
        service_call_schema:
          service: vacuum.do_point
          service_data:
            point: '[[selection]]'
            repeats: '[[repeats]]'
            point_x: '[[point_x]]'
            point_y: '[[point_y]]'
            predefined: 'true'
          target:
            entity_id: '[[entity_id]]'
        predefined_selections:
          - position:
              - 28006
              - 28036
            label:
              text: Emptying
              x: 28006
              'y': 28036
              offset_y: 35
            icon:
              name: mdi:broom
              x: 28006
              'y': 28036
          - position:
              - 32143
              - 26284
            label:
              text: Sofa
              x: 32143
              'y': 26284
              offset_y: 35
            icon:
              name: mdi:sofa
              x: 32143
              'y': 26284
        variables: {}
    icons:
      - icon: mdi:play
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: cleaning
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: error
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: returning
        tooltip: Start
        tap_action:
          action: call-service
          service: vacuum.start
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
      - icon: mdi:stop
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: docked
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: idle
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: error
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: paused
        tooltip: Stop
        tap_action:
          action: call-service
          service: vacuum.stop
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
      - icon: mdi:home-map-marker
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: docked
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            value_not: returning
        tooltip: Return to base
        tap_action:
          action: call-service
          service: vacuum.return_to_base
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
      - menu_id: fan_speed
        icon: mdi:fan-alert
        label: Slient
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value: Slient
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Slient
      - menu_id: fan_speed
        icon: mdi:fan-speed-1
        label: Standard
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value: Standard
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Standard
      - menu_id: fan_speed
        icon: mdi:fan-speed-2
        label: Medium
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value: Medium
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Medium
      - menu_id: fan_speed
        icon: mdi:fan-speed-3
        label: Turbo
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value: Turbo
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Turbo
      - icon: mdi:fan-alert
        conditions:
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value_not: Slient
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value_not: Standard
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value_not: Medium
          - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            attribute: fan_speed
            value_not: Turbo
        tooltip: Change fan speed
        tap_action:
          action: call-service
          service: vacuum.set_fan_speed
          service_data:
            entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
            fan_speed: Slient
    tiles:
      - tile_id: battery_level
        entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        label: Battery
        attribute: battery_level
        icon_source: vacuum.xiaomi_b106eu_52ce_robot_cleaner.attributes.battery_icon
        unit: '%'
      - tile_id: fan_speed
        entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        label: Fan speed
        attribute: fan_speed
        icon: mdi:fan
        translations:
          silent: Silent
          standard: Standard
          medium: Medium
          turbo: Turbo
          auto: Auto
          gentle: Gentle
vacuum_platform: default
icons:
  - icon: mdi:play
    conditions:
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: cleaning
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: error
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: returning
    tooltip: Start
    tap_action:
      action: call-service
      service: vacuum.start
      service_data:
        entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
  - icon: mdi:stop
    conditions:
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: docked
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: idle
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: error
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: paused
    tooltip: Stop
    tap_action:
      action: call-service
      service: vacuum.stop
      service_data:
        entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
  - icon: mdi:home-map-marker
    conditions:
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: docked
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        value_not: returning
    tooltip: Return to base
    tap_action:
      action: call-service
      service: vacuum.return_to_base
      service_data:
        entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
  - menu_id: fan_speed
    icon: mdi:fan-alert
    label: Slient
    conditions:
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        attribute: fan_speed
        value: Slient
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        fan_speed: Slient
  - menu_id: fan_speed
    icon: mdi:fan-speed-1
    label: Standard
    conditions:
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        attribute: fan_speed
        value: Standard
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        fan_speed: Standard
  - menu_id: fan_speed
    icon: mdi:fan-speed-2
    label: Medium
    conditions:
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        attribute: fan_speed
        value: Medium
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        fan_speed: Medium
  - menu_id: fan_speed
    icon: mdi:fan-speed-3
    label: Turbo
    conditions:
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        attribute: fan_speed
        value: Turbo
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        fan_speed: Turbo
  - icon: mdi:fan-alert
    conditions:
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        attribute: fan_speed
        value_not: Slient
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        attribute: fan_speed
        value_not: Standard
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        attribute: fan_speed
        value_not: Medium
      - entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        attribute: fan_speed
        value_not: Turbo
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.xiaomi_b106eu_52ce_robot_cleaner
        fan_speed: Slient
tiles:
  - tile_id: battery_level
    entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
    label: Battery
    attribute: battery_level
    icon_source: vacuum.xiaomi_b106eu_52ce_robot_cleaner.attributes.battery_icon
    unit: '%'
  - tile_id: fan_speed
    entity: vacuum.xiaomi_b106eu_52ce_robot_cleaner
    label: Fan speed
    attribute: fan_speed
    icon: mdi:fan
    translations:
      silent: Silent
      standard: Standard
      medium: Medium
      turbo: Turbo
      auto: Auto
      gentle: Gentle
map_locked: true
two_finger_pan: true

Impossible de récupérer ma carte, j’ai le résultat suivant:

Comme si mon image n’était pas trouvée ou générée…

Avez -vous une idée ?

Merci par avance !

Hello!

Désolé de ne pas avoir la réponse, en revanche je viens d’acquérir un Xiaomi S12 et je ne parviens pas du tout à le faire reconnaître dans HA… Quelle intégration as-tu utilisé?

Merci!
Ben

Bonjour,

J’ai utilisé l’intégration Xiaomi Miot Auto.

Pour la configuration, j’ai renseigné mes identifiants xiaomi cloud,
Emplacement Serveur → Europe,
Mode de connexion pour l’appareil → Automatic.

En espérant que ce soit bon pour toi avec cette réponse.

Hello,

Yes c’est bon pour moi ! Ca n’avait pas fonctionné la première fois.
Merci! :pray: