Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repeadatly generated room config attaches to another #771

Open
3 tasks done
Xyz00777 opened this issue Nov 2, 2024 · 3 comments
Open
3 tasks done

repeadatly generated room config attaches to another #771

Xyz00777 opened this issue Nov 2, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Xyz00777
Copy link

Xyz00777 commented Nov 2, 2024

Checklist

  • I have updated the card to the latest version available
  • I have cleared the cache of my browser
  • I have checked if the problem is already reported

The problem

I found out that if I generate a room configuration and then do it again in another card, the generated room configuration becomes twice as long each time, and it keeps stacking further and further. The last room configuration I had generated turned an 8-line config into a repeating 8000-line config...
It looks for me like some kind of a browser cache bug, because when i strg + F5 the tab its looking normal again

What version of a card has described problem?

2.2.4

What was the last working version card?

No response

What vacuum model do you have problems with?

ViomiV6ValetudoRobot with valetudo

Which integration do you use to control your vacuum (link)?

MQTT?

What browser (browsers/apps) does have this problem?

firefox

What version of Home Assistant do you use?

2024.10.4

What type of installation are you running?

Home Assistant OS

Card's configuration

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.valetudo_v6_bustlingflickeringgoose_camera
calibration_source:
  camera: true
entity: vacuum.valetudo_bustlingflickeringgoose
vacuum_platform: Hypfer/Valetudo
map_modes:
  - template: vacuum_clean_zone
  - template: vacuum_goto
  - template: vacuum_clean_segment
    predefined_selections:
      - id: "10"
        icon:
          name: mdi:broom
          x: 1792
          "y": 2110
        label:
          text: Küche
          x: 1792
          "y": 2110
          offset_y: 35
        outline:
          - - 1535
            - 1965
          - - 2050
            - 1965
          - - 2050
            - 2255
          - - 1535
            - 2255
      - id: "11"
        icon:
          name: mdi:broom
          x: 1282
          "y": 2197
        label:
          text: Bad
          x: 1282
          "y": 2197
          offset_y: 35
        outline:
          - - 1145
            - 2120
          - - 1420
            - 2120
          - - 1420
            - 2275
          - - 1145
            - 2275
      - id: "12"
        icon:
          name: mdi:broom
          x: 1800
          "y": 2425
        label:
          text: Schlafzimmer
          x: 1800
          "y": 2425
          offset_y: 35
        outline:
          - - 1565
            - 2255
          - - 2035
            - 2255
          - - 2035
            - 2595
          - - 1565
            - 2595
      - id: "13"
        icon:
          name: mdi:broom
          x: 1357
          "y": 2435
        label:
          text: Wohnzimmer
          x: 1357
          "y": 2435
          offset_y: 35
        outline:
          - - 1150
            - 2265
          - - 1565
            - 2265
          - - 1565
            - 2605
          - - 1150
            - 2605
      - id: "16"
        icon:
          name: mdi:broom
          x: 1480
          "y": 2195
        label:
          text: Flur
          x: 1480
          "y": 2195
          offset_y: 35
        outline:
          - - 1420
            - 2105
          - - 1540
            - 2105
          - - 1540
            - 2285
          - - 1420
            - 2285
  - template: vacuum_clean_segment
    predefined_selections:
      - id: "10"
        icon:
          name: mdi:broom
          x: 1792
          "y": 2110
        label:
          text: Küche
          x: 1792
          "y": 2110
          offset_y: 35
        outline:
          - - 1535
            - 1965
          - - 2050
            - 1965
          - - 2050
            - 2255
          - - 1535
            - 2255
      - id: "11"
        icon:
          name: mdi:broom
          x: 1282
          "y": 2197
        label:
          text: Bad
          x: 1282
          "y": 2197
          offset_y: 35
        outline:
          - - 1145
            - 2120
          - - 1420
            - 2120
          - - 1420
            - 2275
          - - 1145
            - 2275
      - id: "12"
        icon:
          name: mdi:broom
          x: 1800
          "y": 2425
        label:
          text: Schlafzimmer
          x: 1800
          "y": 2425
          offset_y: 35
        outline:
          - - 1565
            - 2255
          - - 2035
            - 2255
          - - 2035
            - 2595
          - - 1565
            - 2595
      - id: "13"
        icon:
          name: mdi:broom
          x: 1357
          "y": 2435
        label:
          text: Wohnzimmer
          x: 1357
          "y": 2435
          offset_y: 35
        outline:
          - - 1150
            - 2265
          - - 1565
            - 2265
          - - 1565
            - 2605
          - - 1150
            - 2605
      - id: "16"
        icon:
          name: mdi:broom
          x: 1480
          "y": 2195
        label:
          text: Flur
          x: 1480
          "y": 2195
          offset_y: 35
        outline:
          - - 1420
            - 2105
          - - 1540
            - 2105
          - - 1540
            - 2285
          - - 1420
            - 2285
  - template: vacuum_clean_segment
    predefined_selections:
      - id: "10"
        icon:
          name: mdi:broom
          x: 1792
          "y": 2110
        label:
          text: Küche
          x: 1792
          "y": 2110
          offset_y: 35
        outline:
          - - 1535
            - 1965
          - - 2050
            - 1965
          - - 2050
            - 2255
          - - 1535
            - 2255
      - id: "11"
        icon:
          name: mdi:broom
          x: 1282
          "y": 2197
        label:
          text: Bad
          x: 1282
          "y": 2197
          offset_y: 35
        outline:
          - - 1145
            - 2120
          - - 1420
            - 2120
          - - 1420
            - 2275
          - - 1145
            - 2275
      - id: "12"
        icon:
          name: mdi:broom
          x: 1800
          "y": 2425
        label:
          text: Schlafzimmer
          x: 1800
          "y": 2425
          offset_y: 35
        outline:
          - - 1565
            - 2255
          - - 2035
            - 2255
          - - 2035
            - 2595
          - - 1565
            - 2595
      - id: "13"
        icon:
          name: mdi:broom
          x: 1357
          "y": 2435
        label:
          text: Wohnzimmer
          x: 1357
          "y": 2435
          offset_y: 35
        outline:
          - - 1150
            - 2265
          - - 1565
            - 2265
          - - 1565
            - 2605
          - - 1150
            - 2605
      - id: "16"
        icon:
          name: mdi:broom
          x: 1480
          "y": 2195
        label:
          text: Flur
          x: 1480
          "y": 2195
          offset_y: 35
        outline:
          - - 1420
            - 2105
          - - 1540
            - 2105
          - - 1540
            - 2285
          - - 1420
            - 2285
  - template: vacuum_clean_segment
    predefined_selections:
      - id: "10"
        icon:
          name: mdi:broom
          x: 1792
          "y": 2110
        label:
          text: Küche
          x: 1792
          "y": 2110
          offset_y: 35
        outline:
          - - 1535
            - 1965
          - - 2050
            - 1965
          - - 2050
            - 2255
          - - 1535
            - 2255
      - id: "11"
        icon:
          name: mdi:broom
          x: 1282
          "y": 2197
        label:
          text: Bad
          x: 1282
          "y": 2197
          offset_y: 35
        outline:
          - - 1145
            - 2120
          - - 1420
            - 2120
          - - 1420
            - 2275
          - - 1145
            - 2275
      - id: "12"
        icon:
          name: mdi:broom
          x: 1800
          "y": 2425
        label:
          text: Schlafzimmer
          x: 1800
          "y": 2425
          offset_y: 35
        outline:
          - - 1565
            - 2255
          - - 2035
            - 2255
          - - 2035
            - 2595
          - - 1565
            - 2595
      - id: "13"
        icon:
          name: mdi:broom
          x: 1357
          "y": 2435
        label:
          text: Wohnzimmer
          x: 1357
          "y": 2435
          offset_y: 35
        outline:
          - - 1150
            - 2265
          - - 1565
            - 2265
          - - 1565
            - 2605
          - - 1150
            - 2605
      - id: "16"
        icon:
          name: mdi:broom
          x: 1480
          "y": 2195
        label:
          text: Flur
          x: 1480
          "y": 2195
          offset_y: 35
        outline:
          - - 1420
            - 2105
          - - 1540
            - 2105
          - - 1540
            - 2285
          - - 1420
            - 2285
  - template: vacuum_clean_segment
    predefined_selections:
      - id: "10"
        icon:
          name: mdi:broom
          x: 1792
          "y": 2110
        label:
          text: Küche
          x: 1792
          "y": 2110
          offset_y: 35
        outline:
          - - 1535
            - 1965
          - - 2050
            - 1965
          - - 2050
            - 2255
          - - 1535
            - 2255
      - id: "11"
        icon:
          name: mdi:broom
          x: 1282
          "y": 2197
        label:
          text: Bad
          x: 1282
          "y": 2197
          offset_y: 35
        outline:
          - - 1145
            - 2120
          - - 1420
            - 2120
          - - 1420
            - 2275
          - - 1145
            - 2275
      - id: "12"
        icon:
          name: mdi:broom
          x: 1800
          "y": 2425
        label:
          text: Schlafzimmer
          x: 1800
          "y": 2425
          offset_y: 35
        outline:
          - - 1565
            - 2255
          - - 2035
            - 2255
          - - 2035
            - 2595
          - - 1565
            - 2595
      - id: "13"
        icon:
          name: mdi:broom
          x: 1357
          "y": 2435
        label:
          text: Wohnzimmer
          x: 1357
          "y": 2435
          offset_y: 35
        outline:
          - - 1150
            - 2265
          - - 1565
            - 2265
          - - 1565
            - 2605
          - - 1150
            - 2605
      - id: "16"
        icon:
          name: mdi:broom
          x: 1480
          "y": 2195
        label:
          text: Flur
          x: 1480
          "y": 2195
          offset_y: 35
        outline:
          - - 1420
            - 2105
          - - 1540
            - 2105
          - - 1540
            - 2285
          - - 1420
            - 2285
  - template: vacuum_clean_segment
    predefined_selections:
      - id: "10"
        icon:
          name: mdi:broom
          x: 1792
          "y": 2110
        label:
          text: Küche
          x: 1792
          "y": 2110
          offset_y: 35
        outline:
          - - 1535
            - 1965
          - - 2050
            - 1965
          - - 2050
            - 2255
          - - 1535
            - 2255
      - id: "11"
        icon:
          name: mdi:broom
          x: 1282
          "y": 2197
        label:
          text: Bad
          x: 1282
          "y": 2197
          offset_y: 35
        outline:
          - - 1145
            - 2120
          - - 1420
            - 2120
          - - 1420
            - 2275
          - - 1145
            - 2275
      - id: "12"
        icon:
          name: mdi:broom
          x: 1800
          "y": 2425
        label:
          text: Schlafzimmer
          x: 1800
          "y": 2425
          offset_y: 35
        outline:
          - - 1565
            - 2255
          - - 2035
            - 2255
          - - 2035
            - 2595
          - - 1565
            - 2595
      - id: "13"
        icon:
          name: mdi:broom
          x: 1357
          "y": 2435
        label:
          text: Wohnzimmer
          x: 1357
          "y": 2435
          offset_y: 35
        outline:
          - - 1150
            - 2265
          - - 1565
            - 2265
          - - 1565
            - 2605
          - - 1150
            - 2605
      - id: "16"
        icon:
          name: mdi:broom
          x: 1480
          "y": 2195
        label:
          text: Flur
          x: 1480
          "y": 2195
          offset_y: 35
        outline:
          - - 1420
            - 2105
          - - 1540
            - 2105
          - - 1540
            - 2285
          - - 1420
            - 2285
  - template: vacuum_clean_segment
    predefined_selections:
      - id: "10"
        icon:
          name: mdi:broom
          x: 1792
          "y": 2110
        label:
          text: Küche
          x: 1792
          "y": 2110
          offset_y: 35
        outline:
          - - 1535
            - 1965
          - - 2050
            - 1965
          - - 2050
            - 2255
          - - 1535
            - 2255
      - id: "11"
        icon:
          name: mdi:broom
          x: 1282
          "y": 2197
        label:
          text: Bad
          x: 1282
          "y": 2197
          offset_y: 35
        outline:
          - - 1145
            - 2120
          - - 1420
            - 2120
          - - 1420
            - 2275
          - - 1145
            - 2275
      - id: "12"
        icon:
          name: mdi:broom
          x: 1800
          "y": 2425
        label:
          text: Schlafzimmer
          x: 1800
          "y": 2425
          offset_y: 35
        outline:
          - - 1565
            - 2255
          - - 2035
            - 2255
          - - 2035
            - 2595
          - - 1565
            - 2595
      - id: "13"
        icon:
          name: mdi:broom
          x: 1357
          "y": 2435
        label:
          text: Wohnzimmer
          x: 1357
          "y": 2435
          offset_y: 35
        outline:
          - - 1150
            - 2265
          - - 1565
            - 2265
          - - 1565
            - 2605
          - - 1150
            - 2605
      - id: "16"
        icon:
          name: mdi:broom
          x: 1480
          "y": 2195
        label:
          text: Flur
          x: 1480
          "y": 2195
          offset_y: 35
        outline:
          - - 1420
            - 2105
          - - 1540
            - 2105
          - - 1540
            - 2285
          - - 1420
            - 2285
  - template: vacuum_clean_segment
    predefined_selections:
      - id: "10"
        icon:
          name: mdi:broom
          x: 1792
          "y": 2110
        label:
          text: Küche
          x: 1792
          "y": 2110
          offset_y: 35
        outline:
          - - 1535
            - 1965
          - - 2050
            - 1965
          - - 2050
            - 2255
          - - 1535
            - 2255
      - id: "11"
        icon:
          name: mdi:broom
          x: 1282
          "y": 2197
        label:
          text: Bad
          x: 1282
          "y": 2197
          offset_y: 35
        outline:
          - - 1145
            - 2120
          - - 1420
            - 2120
          - - 1420
            - 2275
          - - 1145
            - 2275
      - id: "12"
        icon:
          name: mdi:broom
          x: 1800
          "y": 2425
        label:
          text: Schlafzimmer
          x: 1800
          "y": 2425
          offset_y: 35
        outline:
          - - 1565
            - 2255
          - - 2035
            - 2255
          - - 2035
            - 2595
          - - 1565
            - 2595
      - id: "13"
        icon:
          name: mdi:broom
          x: 1357
          "y": 2435
        label:
          text: Wohnzimmer
          x: 1357
          "y": 2435
          offset_y: 35
        outline:
          - - 1150
            - 2265
          - - 1565
            - 2265
          - - 1565
            - 2605
          - - 1150
            - 2605
      - id: "16"
        icon:
          name: mdi:broom
          x: 1480
          "y": 2195
        label:
          text: Flur
          x: 1480
          "y": 2195
          offset_y: 35
        outline:
          - - 1420
            - 2105
          - - 1540
            - 2105
          - - 1540
            - 2285
          - - 1420
            - 2285

Javascript errors shown in the browser's console (if applicable)

No response

Additional information

No response

@Xyz00777 Xyz00777 added the bug Something isn't working label Nov 2, 2024
@PiotrMachowski
Copy link
Owner

Can you check if the same problem exists in Chrome/Edge?

Are these correct steps to reproduce this issue?

  1. Create the first card and generate rooms config for it
  2. Create the second card and generate rooms config for it - it will be 2x longer than 1)
  3. Create the third card and generate rooms config for it - it will be 4x longer than 1)
  4. ...

@Xyz00777
Copy link
Author

Xyz00777 commented Nov 4, 2024

not exactly but kind of yes

  1. Create the first card and generate rooms config for it
  2. Create the second card and generate rooms config for it - it will be 2x longer than 1)
  3. Create the third card and generate rooms config for it - it will be 3x longer than 1)
  4. Create the fourth card and generate rooms config for it - it will be 4x longer than 1)

yes it also happens on vivaldi (chromium based)

@Wellynounet
Copy link

yeah same for me and i have this issue to "Failed to execute the action xiaomi_miot/call_action. Required key not provided @ data['aiid']."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants