diff --git a/hassio/src/system/hassio-host-info.ts b/hassio/src/system/hassio-host-info.ts index b8bd35fca5..38ea35fa21 100644 --- a/hassio/src/system/hassio-host-info.ts +++ b/hassio/src/system/hassio-host-info.ts @@ -59,7 +59,9 @@ class HassioHostInfo extends LitElement { @internalProperty() public _networkInfo?: NetworkInfo; public render(): TemplateResult | void { - const primaryIpAddress = this._primaryIpAddress(this._networkInfo!); + const primaryIpAddress = this.hostInfo.features.includes("network") + ? this._primaryIpAddress(this._networkInfo!) + : ""; return html`
@@ -79,20 +81,23 @@ class HassioHostInfo extends LitElement { ` : ""} - - - IP address - - - ${primaryIpAddress} - - - - + ${this.hostInfo.features.includes("network") + ? html` + + IP address + + + ${primaryIpAddress} + + + + ` + : ""} + Operating system