mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 05:47:20 +00:00
Fix no disconnect after 5 minute timeout (#8339)
This commit is contained in:
parent
c04419fd09
commit
c3f50ba0fb
@ -183,7 +183,7 @@ export class HomeAssistantAppEl extends QuickBarMixin(HassElement) {
|
||||
this._hiddenTimeout = undefined;
|
||||
// setTimeout can be delayed in the background and only fire
|
||||
// when we switch to the tab or app again (Hey Android!)
|
||||
if (!document.hidden) {
|
||||
if (document.hidden) {
|
||||
this._suspendApp();
|
||||
}
|
||||
}, 300000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user