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", 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/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(); } 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 = []; } 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": {