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

Open Subview dashboard as a Popup

Open dortamur opened this issue 1 year ago • 2 comments

It would be really useful to be able to open a Subview as content for a Popup. This would allow complex dashboard popups without having to define a Popup's content as YAML.

This could be called as:

service: browser_mod.popup
data:
  title: Living Room
  content: 
    navigation_path: /lovelace/living_room

or perhaps:

service: browser_mod.popup
data:
  title: Living Room
  content: 
    subview: living_room

dortamur avatar Nov 16 '23 03:11 dortamur

I agree, this would be a great feature, in the meantime, I landed on using declutter-card, based on this post by the author of this mod. This pulled about 1000 lines out of my primary dashboard, and allows me to make sure these "buttons" have consistent content. Additionally being able to use sub-views could also be useful for other things...

ejpenney avatar Jan 19 '24 00:01 ejpenney

I would also really love this. Right now I had to pull the entire yaml for the subview and put it into a button. That's going to get sloppy really fast.

Test-subj avatar Sep 07 '24 02:09 Test-subj