Closed rohankapoorcom closed 4 weeks ago
Three methods:
?replace
param to panel url, http://ha/panel_name?replace
.
active replace ui_mode only when you need it.http://ha/api/ingress/panel_name
url.
if token cookie is valid, show ingressed page. if not valid, jump to http://ha/panel_name?replace
automaticly.Recommend the last one.
Thank you! This wasn't working with Home Assistant 2024.03.x, but I just upgraded to 2024.04.x and it's working now!
@rohankapoorcom Which of the above 3 methods did you choose?
I used the third option (that way if I wanted to click on the item in the sidebar, it would still have the header). Now I just need to get the iframe card to handle resizing to fill the available space properly.
Is it possible to load the ingressed page without drawing the sidebar? I'm trying to embed the ingressed app (Music Assistant) into an existing dashboard using the iframe card and it ends up with a second copy of the sidebar which doesn't look good.