thecowan/wallpanel-android

[FEATURE] URL command - navigate using JS without reloading

luzik opened this issue · 1 comments

luzik commented

It would be awesome to have ability to switch Lovelace cards using builtin JS navigation.

My personal use case is that I have a card with 'open door' button and webrtc stream from my door cam that support background streaming. When someone press doorbell I want to switch/navigate to that card, but with navigation implemented in wallpanel (url command) I can only go there with reloading stream - that takes few seconds to show stream.
Switching card by touching Lovelace UI card navigates smooth and stream is shown instant. Switching card by navigating by wallpanel make it realod.

Maybe there is simple way using eval command ?

BTW, please check links on GitHub wiki page, they seams to be broken after moving to new url

same suggestion