1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 04:39:01 +00:00

Filter met during onboarding (#3285)

* Filter met during onboarding

* Hide temp values with no value
This commit is contained in:
Paulus Schoutsen
2019-06-19 11:42:46 -07:00
committed by GitHub
parent 2df829b79d
commit 83889a8fd7
3 changed files with 10 additions and 4 deletions

View File

@@ -151,7 +151,10 @@ class OnboardingIntegrations extends LitElement {
getConfigEntries(this.hass!),
]);
this._discovered = discovered;
this._entries = entries;
// We filter out the config entry for the local weather.
// It is one that we create automatically and it will confuse the user
// if it starts showing up during onboarding.
this._entries = entries.filter((entry) => entry.domain !== "met");
}
private async _finish() {