dwainscheeren / dwains-dashboard-addons

Dwains Dashboard Community Addons
118 stars 75 forks source link

dwains-dashboard-addons/rooms/vacuum -- map-extractor #118

Open flodus opened 3 years ago

flodus commented 3 years ago

Hello,

excuse my bad google-translate English

I really appreciate the work of the team and the contributors !

I try to customize your dashboard to better suit my needs. I am using the HACS integrations :

as well as the personalized card:

When I change the original part:

   - type: vertical-stack
      items_classes: 'col-sm-12'
      cards:
        - type: picture-entity
          entity: {{ (data | fromjson)['map'] }}
          show_name: false
          show_state: false
          tap_action: none
          hold_action: none

original

by :

    - type: vertical-stack
      items_classes: 'col-sm-12'
      cards:
        - type: 'custom:xiaomi-vacuum-map-card'
          entity: {{ (data | fromjson)['vacuum'] }}
          map_camera: {{ (data | fromjson)['map'] }}
          camera_calibration: true
          language: fr              
          default_mode: go_to_target
          modes:
            - go_to_target
            - zoned_cleanup
            - predefined_zones

modified

the display no longer works. The card becomes very small and only takes half of the dedicated dwains-flexbox-card How can I get the entire dwains-flexbox-card back?

Thank you in advance and again congratulations on your work!