diff --git a/pyproject.toml b/pyproject.toml index 518a24ff18..2757e007b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "home-assistant-frontend" -version = "20230223.0" +version = "20230224.0" license = {text = "Apache-2.0"} description = "The Home Assistant frontend" readme = "README.md" diff --git a/src/dialogs/more-info/ha-more-info-dialog.ts b/src/dialogs/more-info/ha-more-info-dialog.ts index 4f79d757c4..38a7e4ab84 100644 --- a/src/dialogs/more-info/ha-more-info-dialog.ts +++ b/src/dialogs/more-info/ha-more-info-dialog.ts @@ -81,7 +81,7 @@ export class MoreInfoDialog extends LitElement { @state() private _childView?: ChildView; - @state() private _entry?: ExtEntityRegistryEntry; + @state() private _entry?: ExtEntityRegistryEntry | null; public showDialog(params: MoreInfoDialogParams) { this._entityId = params.entityId; @@ -99,10 +99,14 @@ export class MoreInfoDialog extends LitElement { if (!this._entityId) { return; } - this._entry = await getExtendedEntityRegistryEntry( - this.hass, - this._entityId - ); + try { + this._entry = await getExtendedEntityRegistryEntry( + this.hass, + this._entityId + ); + } catch (e) { + this._entry = null; + } } public closeDialog() { diff --git a/src/panels/config/hardware/ha-config-hardware.ts b/src/panels/config/hardware/ha-config-hardware.ts index bea75f5176..118323cd54 100644 --- a/src/panels/config/hardware/ha-config-hardware.ts +++ b/src/panels/config/hardware/ha-config-hardware.ts @@ -327,16 +327,21 @@ class HaConfigHardware extends SubscribeMixin(LitElement) { : ""} - ${boardConfigEntries.length + ${boardConfigEntries.length || + isComponentLoaded(this.hass, "hassio") ? html`