hass-browser_mod icon indicating copy to clipboard operation
hass-browser_mod copied to clipboard

2 Cards on Popup

Open AxDevl opened this issue 1 year ago • 2 comments

Hi, so basically I’m trying to achieve something like this.

however because I’m not so strong at Yaml code I tried to replicate it in cards. I’ve successfully got the cards ready however cannot get them on that the vacuum map is on the right and the card with entities is on the left. I’ve tried the vertical and horizontal cards however always forces to have them vertical.

Would appreciate some ideas how to do this.

Thanks!

AxDevl avatar Sep 12 '22 15:09 AxDevl

I think you can use the grid card for that effect. At least that's what I use and it accepts to put two cards sideways in a popup.

FrnchFrgg avatar Sep 13 '22 15:09 FrnchFrgg

An example with code:

      browser_mod:
        service: browser_mod.popup
        data:
          title: Volet piscine
          content:
            square: false
            columns: 2
            type: grid
            cards:
              - type: picture-entity
                entity: camera.poolcamera_fluent
              - type: entities
                entities:
                  - entity: cover.volet_piscine

FrnchFrgg avatar Sep 13 '22 15:09 FrnchFrgg