From ebae469e7df2778d4e2ad8442439f550c068dc56 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 20 Mar 2019 07:35:44 -0700 Subject: [PATCH 1/5] Warn when remote UI cannot be turned on (#2978) * Warn when remote UI cannot be turned on * Lint --- src/panels/config/cloud/cloud-remote-pref.ts | 1 + src/panels/lovelace/hui-view.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/cloud/cloud-remote-pref.ts b/src/panels/config/cloud/cloud-remote-pref.ts index 07a747cdb1..bf0fdebce6 100644 --- a/src/panels/config/cloud/cloud-remote-pref.ts +++ b/src/panels/config/cloud/cloud-remote-pref.ts @@ -104,6 +104,7 @@ export class CloudRemotePref extends LitElement { } fireEvent(this, "ha-refresh-cloud-status"); } catch (err) { + alert(err.message); toggle.checked = !toggle.checked; } } diff --git a/src/panels/lovelace/hui-view.ts b/src/panels/lovelace/hui-view.ts index 1b798042d2..bb70b8be06 100644 --- a/src/panels/lovelace/hui-view.ts +++ b/src/panels/lovelace/hui-view.ts @@ -66,7 +66,6 @@ export class HUIView extends LitElement { constructor() { super(); - console.log("CONSTRUCT HUI-VIEW"); this._cards = []; this._badges = []; } From be9402bd05dbf86f555dac6e855469a7051fcc18 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 20 Mar 2019 15:36:06 +0100 Subject: [PATCH 2/5] Remove console.log (#2979) Remove console.log probably forgotten? From b82a1c75c4844b70afc70b2293d5d36800d50896 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 20 Mar 2019 07:36:28 -0700 Subject: [PATCH 3/5] Fix custom panel doctype (#2977) --- src/panels/custom/ha-panel-custom.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/panels/custom/ha-panel-custom.js b/src/panels/custom/ha-panel-custom.js index 563f9d47f1..7571d697c5 100644 --- a/src/panels/custom/ha-panel-custom.js +++ b/src/panels/custom/ha-panel-custom.js @@ -98,7 +98,9 @@ It will have access to all data in Home Assistant. `.trim(); const iframeDoc = this.querySelector("iframe").contentWindow.document; iframeDoc.open(); - iframeDoc.write(``); + iframeDoc.write( + `` + ); iframeDoc.close(); } From c743a48cf9c0e728806eb01d003bfdfa9885b5e3 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 20 Mar 2019 07:42:16 -0700 Subject: [PATCH 4/5] Update translations --- translations/zh-Hans.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/zh-Hans.json b/translations/zh-Hans.json index 2a82edf3c9..b8d71f6b18 100644 --- a/translations/zh-Hans.json +++ b/translations/zh-Hans.json @@ -804,7 +804,7 @@ "init": { "data": { "username": "用户名", - "password": "ui::panel::page-authorize::form::providers::homeassistant::step::init::data::password" + "password": "密码" } }, "mfa": { From 7e69df44d72fa61182ea5e92b11baa0783c03f63 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 20 Mar 2019 07:42:22 -0700 Subject: [PATCH 5/5] Bumped version to 20190320.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 687b774685..888bc5a06c 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="home-assistant-frontend", - version="20190319.1", + version="20190320.0", description="The Home Assistant frontend", url="https://github.com/home-assistant/home-assistant-polymer", author="The Home Assistant Authors",