Revert "Fix default yaml lovelace panel loading (#29230)"

This reverts commit feb9ce421de76f9bbbc39ec12414b228d782099b.
This commit is contained in:
Paul Bottein 2026-01-29 11:31:08 +01:00 committed by GitHub
parent feb9ce421d
commit 624e71a175
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -368,13 +368,11 @@ export class LovelacePanel extends LitElement {
this._ignoreNextUpdateEvent = true;
}
// Keep lovelace yaml path for backward compatibility (until 2026.8)
const urlPath =
confMode === "yaml" && this.urlPath === "lovelace"
? null
: this.urlPath;
confProm = fetchConfig(this.hass!.connection, urlPath, forceDiskRefresh);
confProm = fetchConfig(
this.hass!.connection,
this.urlPath,
forceDiskRefresh
);
}
try {