diff --git a/hassio/src/system/hassio-supervisor-info.ts b/hassio/src/system/hassio-supervisor-info.ts index 0452bd5188..b76f791c4d 100644 --- a/hassio/src/system/hassio-supervisor-info.ts +++ b/hassio/src/system/hassio-supervisor-info.ts @@ -12,6 +12,7 @@ import { import { fireEvent } from "../../../src/common/dom/fire_event"; import "../../../src/components/buttons/ha-call-api-button"; import "../../../src/components/ha-card"; +import { HassioHostInfo as HassioHostInfoType } from "../../../src/data/hassio/host"; import { HassioSupervisorInfo as HassioSupervisorInfoType, setSupervisorOption, @@ -33,6 +34,8 @@ class HassioSupervisorInfo extends LitElement { @property() public supervisorInfo!: HassioSupervisorInfoType; + @property() public hostInfo!: HassioHostInfoType; + @internalProperty() private _errors?: string; public render(): TemplateResult | void { @@ -61,27 +64,41 @@ class HassioSupervisorInfo extends LitElement {
${this._errors - ? html`