TECH7Fox / sip-hass-card

A SIP client inside home assistant!
MIT License
179 stars 38 forks source link

Pop up on any tab #81

Open felipecrs opened 2 years ago

felipecrs commented 2 years ago

If I use the card in a tab which is not the active one, it will be ringing in that tab. It would be awesome if the card could steal the focus of the current tab somehow to display the calling panel.

PS: I mean the HA Dashboard tab and not the Chrome tab.

TECH7Fox commented 2 years ago

I agree. Guessing this could be done with javascript. But the card will need to be loaded first, and need's to know the dashboard it's in and the current dashboard open. Not sure if that info is available for the card.

banny310 commented 1 year ago

plus one for this feature. Currently I am trying to use browser_mod from HACS to popup automatically sip card when doorbell is pressed but there are issues with that approach. Popup works but sip card is not initialized, and call is not started (but rings!). Anybody has found any workaround?