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 :)
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:
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:
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 :)