diff --git a/setup.py b/setup.py index 6f704edce6..76e88054d6 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="home-assistant-frontend", - version="20200220.0", + version="20200220.1", description="The Home Assistant frontend", url="https://github.com/home-assistant/home-assistant-polymer", author="The Home Assistant Authors", diff --git a/src/panels/config/scene/ha-scene-dashboard.ts b/src/panels/config/scene/ha-scene-dashboard.ts index 1693aa9d9a..75b86a5b15 100644 --- a/src/panels/config/scene/ha-scene-dashboard.ts +++ b/src/panels/config/scene/ha-scene-dashboard.ts @@ -158,7 +158,6 @@ class HaSceneDashboard extends LitElement { } ha-card { - padding-bottom: 8px; margin-bottom: 56px; } @@ -169,6 +168,10 @@ class HaSceneDashboard extends LitElement { padding: 0 8px 0 16px; } + .scene > *:first-child { + margin-right: 8px; + } + .scene a[href] { color: var(--primary-text-color); } @@ -177,10 +180,6 @@ class HaSceneDashboard extends LitElement { display: flex; } - ha-entity-toggle { - margin-right: 16px; - } - ha-fab { position: fixed; bottom: 16px; diff --git a/src/panels/config/script/ha-script-picker.ts b/src/panels/config/script/ha-script-picker.ts index 836cf63f1a..abe9b3d0bd 100644 --- a/src/panels/config/script/ha-script-picker.ts +++ b/src/panels/config/script/ha-script-picker.ts @@ -139,7 +139,6 @@ class HaScriptPicker extends LitElement { } ha-card { - padding-bottom: 8px; margin-bottom: 56px; } @@ -147,8 +146,7 @@ class HaScriptPicker extends LitElement { display: flex; flex-direction: horizontal; align-items: center; - padding: 0 8px; - margin: 4px 0; + padding: 0 8px 0 16px; } .script > *:first-child { diff --git a/src/panels/lovelace/create-element/create-element-base.ts b/src/panels/lovelace/create-element/create-element-base.ts index 72c85b9709..4c8879b93c 100644 --- a/src/panels/lovelace/create-element/create-element-base.ts +++ b/src/panels/lovelace/create-element/create-element-base.ts @@ -191,7 +191,7 @@ export const getLovelaceElementClass = async < const tag = `hui-${type}-${tagSuffix}`; const cls = customElements.get(tag); - if (alwaysLoadTypes && type in alwaysLoadTypes) { + if (alwaysLoadTypes && alwaysLoadTypes.has(type)) { return cls; }