Skip to content

Obstacles Card in browsr mod popup #731

Description

@19Francesco81

I used the obstacle card copied from the following link:
https://github.com/yarikoptic/dreame-vacuum/blob/enh-codespell/docs/map.md#obstacles-card
I inserted the code into a tile of the Xiaomi map card that calls a script in the browser mod popup
Everything seems to work and I see the first photo, but when I go to select more the popup closes and doesn't let me select any more photos.

in card:

  • tile_id: Ostacoli
    label: Ostacoli
    entity: camera.l20_ultra_complete_map
    tap_action:
    action: fire-dom-event
    browser_mod:
    service: script.ostacoli
    data:
    browser_id: THIS

Script:
alias: Ostacoli
sequence:

  • action: browser_mod.popup
    metadata: {}
    data:
    browser_id:
    - "{{browser_id}}"
    dismissable: true
    autoclose: false
    content:
    type: custom:button-card (card copied from link)
    .......

Please help me! I'm going crazy :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions