Xiaomi cloud map extractor Icon von Dropdownmenü ändern

fauler.panda

New member
Hallo zusammen


ich habe mir die Xiaomi Cloud Map Extractor Karte für meinen Roborock installiert. Den Staubsauger kann ich problemlos steuern. Was mich aber stört, ist das Icon und die Bezeichnung bei dem Lüfterbutton. Hier habe ich die englischen Bezeichnung und immer das mdi:fan-alert Icon.


Wie kann ich den YAML Code bearbeiten, dass A) die Bezeichnungen auf Deutsch sind und B) die Icons für jede Bezeichnung ein anderes ist?


Bei dem Wischmopp ist es schon von den Standardeinstellungen korrekt und genau so würde ich es für den Lüfter auch haben wollen.


Ich nutze das humbertogontijo/homeassistant-roborock Template.

Die Github Beispiele habe ich auch schon versucht anzuwenden. Aber irgendwie macht es nichts. Leider bin ich auch unerfahren mit dem YAML Code und komme selbst nicht mehr weiter.

YAML:
type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.roborock_qrevo_s_map
calibration_source:
  camera: true
entity: vacuum.roborock_qrevo_s
vacuum_platform: humbertogontijo/homeassistant-roborock
map_locked: true
map_modes:
  - template: vacuum_clean_segment
    name: Räume
    predefined_selections:
      - id: '17'
        icon:
          name: mdi:broom
          x: 30450
          'y': 25050
        label:
          text: Esszimmer
          x: 30450
          'y': 25050
          offset_y: 35
        outline:
          - - 27900
            - 23750
          - - 33000
            - 23750
          - - 33000
            - 26350
          - - 27900
            - 26350
      - id: '18'
        icon:
          name: mdi:broom
          x: 31500
          'y': 27375
        label:
          text: Küche
          x: 31500
          'y': 27375
          offset_y: 35
        outline:
          - - 30000
            - 26400
          - - 33000
            - 26400
          - - 33000
            - 28350
          - - 30000
            - 28350
      - id: '19'
        icon:
          name: mdi:broom
          x: 30650
          'y': 31875
        label:
          text: Schlafzimmer
          x: 30650
          'y': 31875
          offset_y: 35
        outline:
          - - 28250
            - 29250
          - - 33050
            - 29250
          - - 33050
            - 34500
          - - 28250
            - 34500
      - id: '20'
        icon:
          name: mdi:broom
          x: 27075
          'y': 31150
        label:
          text: Bad
          x: 27075
          'y': 31150
          offset_y: 35
        outline:
          - - 26400
            - 30200
          - - 27750
            - 30200
          - - 27750
            - 32100
          - - 26400
            - 32100
      - id: '21'
        icon:
          name: mdi:broom
          x: 24150
          'y': 27800
        label:
          text: Zimmer A
          x: 24150
          'y': 27800
          offset_y: 35
        outline:
          - - 22000
            - 26600
          - - 26300
            - 26600
          - - 26300
            - 29000
          - - 22000
            - 29000
      - id: '22'
        icon:
          name: mdi:broom
          x: 28775
          'y': 28200
        label:
          text: Dusche
          x: 28775
          'y': 28200
          offset_y: 35
        outline:
          - - 28100
            - 27400
          - - 29450
            - 27400
          - - 29450
            - 29000
          - - 28100
            - 29000
      - id: '23'
        icon:
          name: mdi:broom
          x: 24100
          'y': 30500
        label:
          text: Zimmer B
          x: 24100
          'y': 30500
          offset_y: 35
        outline:
          - - 22000
            - 29300
          - - 26200
            - 29300
          - - 26200
            - 31700
          - - 22000
            - 31700
      - id: '24'
        icon:
          name: mdi:broom
          x: 27225
          'y': 28250
        label:
          text: Korridor
          x: 27225
          'y': 28250
          offset_y: 35
        outline:
          - - 26200
            - 26350
          - - 28250
            - 26350
          - - 28250
            - 30150
          - - 26200
            - 30150
      - id: '25'
        icon:
          name: mdi:broom
          x: 25450
          'y': 24025
        label:
          text: Wohnzimmer
          x: 25450
          'y': 24025
          offset_y: 35
        outline:
          - - 23050
            - 21700
          - - 27850
            - 21700
          - - 27850
            - 26350
          - - 23050
            - 26350
  - template: vacuum_clean_zone
    name: Reinigungszone
  - template: vacuum_goto
tiles: []
card_mod:
  style: |
    ha-card {
      --map-card-room-icon-background-color: indigo;
      --map-card-room-icon-color: white;
    }
1000015002.png1000015001.png
 

Zurzeit aktive Besucher

Letzte Anleitungen

Statistik des Forums

Themen
5.283
Beiträge
52.555
Mitglieder
5.037
Neuestes Mitglied
galaxyaner
Zurück
Oben