Fixes for iOS and FKB

This commit is contained in:
2020-10-24 22:54:08 +02:00
parent d25c2e9767
commit 7d17efd961
9 changed files with 71 additions and 44 deletions

View File

@@ -16,7 +16,7 @@ export const BrowserModPopupsMixin = (C) => class extends C {
}
_popup_card(ev) {
if(!lovelace) return;
if(!lovelace()) return;
if(!ev.detail || !ev.detail.entityId) return;
const data = {
...lovelace().config.popup_cards,