Closed Gibby closed 1 year ago
upvoting this as well. Not sure how to do this, and the documentation is not very helpful unfortunately.
It looks like you just delete the manual popup_cards
lovelace entry, and then recreate the cards using the lovelace UI in edit mode. You create each popup using the type: custom:popup-card
. I think the issue is that it isn't working, at least not in 2022.9.x and 2022.10.x. See https://github.com/thomasloven/hass-browser_mod/issues/413
I think the issue is that it isn't working, at least not in 2022.9.x and 2022.10.x. See #413
Just tested and it is working in 2022.10.2. See https://github.com/thomasloven/hass-browser_mod/issues/413#issuecomment-1273502775
@e2m32 I'm trying to do it in yaml and not in the UI. I tried using type: custom:popup-card
in yaml with no luck.
Hi @Gibby
I took your first popup card entry in your shared code and changed it to a custom:popup-card
. Try adding this to the same view that you want it to popup from. When you click on the entity (person.me
) in another card (on the same view), this should popup instead of the basic more-info dialog. If it doesn't verify that you've installed browser_mod
correctly. Also I've had issues getting this to work from other custom cards. So test with the basic Lovelace Entity Card.
type: custom:popup-card
entity: person.me
title: me
dismissable: true
card:
type: vertical-stack
cards:
- type: entities
entities:
- person.me
- type: call-service
name: Find me's Phone
service: script.find_me_phone
- type: custom:flex-table-card
entities:
include:
- device_tracker.life360_me
columns:
- name: Battery
data: battery_level
- name: GPS Accuracy
data: gps_accuracy
- name: Address
data: address
- name: Driving
data: driving
- type: map
default_zoom: 16
entities:
- person.me
size: normal
I have tried to go through the documentation and other issues for 3 days, however I am still totally confused on how to switch my popup_cards from 1x to 2x, 😢
It would be helpful to show the old format and the new format in the documentation side by side.
Here is my 1x
ui-lovelace.yaml