From c7f8fe14681e90d832bea88826639e1317b12255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Wed, 2 Sep 2020 15:58:14 +0200 Subject: [PATCH] Don't show NM before 115 (#6768) --- hassio/src/system/hassio-host-info.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hassio/src/system/hassio-host-info.ts b/hassio/src/system/hassio-host-info.ts index 2f238a8c00af..22c48f291796 100644 --- a/hassio/src/system/hassio-host-info.ts +++ b/hassio/src/system/hassio-host-info.ts @@ -14,6 +14,7 @@ import { TemplateResult, } from "lit-element"; import memoizeOne from "memoize-one"; +import { atLeastVersion } from "../../../src/common/config/version"; import "../../../src/components/ha-button-menu"; import "../../../src/components/ha-card"; import "../../../src/components/ha-settings-row"; @@ -79,7 +80,8 @@ class HassioHostInfo extends LitElement { ` : ""} - ${this.hostInfo.features.includes("network") + ${this.hostInfo.features.includes("network") && + atLeastVersion(this.hass.config.version, 0, 115) ? html` IP address