mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +00:00
Ignore weblinks that don't exist when converting groups to lovelace config (#2488)
* Ignore weblinks that don't exist when converting groups to lovelace config * Simplify
This commit is contained in:
parent
1b2e052f05
commit
41554ab14d
@ -69,7 +69,7 @@ const computeCards = (
|
||||
type: "weather-forecast",
|
||||
entity: entityId,
|
||||
});
|
||||
} else if (domain === "weblink") {
|
||||
} else if (domain === "weblink" && stateObj) {
|
||||
const conf: WeblinkConfig = {
|
||||
type: "weblink",
|
||||
url: stateObj.state,
|
||||
|
Loading…
x
Reference in New Issue
Block a user