From 2df829b79d60c4d0fe1b4a97a89519269998f151 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 18 Jun 2019 11:57:21 -0700 Subject: [PATCH 1/5] Hide unused entities in the demo --- src/panels/lovelace/hui-root.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index 8be38c4122..cb87895aaa 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -195,11 +195,15 @@ class HUIRoot extends LitElement { > ` : ""} - ${this.hass!.localize( - "ui.panel.lovelace.menu.unused_entities" - )} + ${__DEMO__ /* No unused entities available in the demo */ + ? "" + : html` + + ${this.hass!.localize( + "ui.panel.lovelace.menu.unused_entities" + )} + + `} ${this.hass!.localize( "ui.panel.lovelace.menu.configure_ui" From 83889a8fd714332adb96031d861df39ab40bce03 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 19 Jun 2019 11:42:46 -0700 Subject: [PATCH 2/5] Filter met during onboarding (#3285) * Filter met during onboarding * Hide temp values with no value --- src/cards/ha-weather-card.js | 8 +++++--- src/common/entity/domain_icon.ts | 1 + src/onboarding/onboarding-integrations.ts | 5 ++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/cards/ha-weather-card.js b/src/cards/ha-weather-card.js index 0f5c568989..df593e3243 100644 --- a/src/cards/ha-weather-card.js +++ b/src/cards/ha-weather-card.js @@ -216,9 +216,11 @@ class HaWeatherCard extends LocalizeMixin(EventsMixin(PolymerElement)) { > -
- [[item.temperature]] [[getUnit('temperature')]] -
+