hass-browser_mod
hass-browser_mod copied to clipboard
Open Subview dashboard as a Popup
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
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...
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.