mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 20:56:36 +00:00
commit
93d971f72b
2
setup.py
2
setup.py
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="home-assistant-frontend",
|
name="home-assistant-frontend",
|
||||||
version="20190319.1",
|
version="20190320.0",
|
||||||
description="The Home Assistant frontend",
|
description="The Home Assistant frontend",
|
||||||
url="https://github.com/home-assistant/home-assistant-polymer",
|
url="https://github.com/home-assistant/home-assistant-polymer",
|
||||||
author="The Home Assistant Authors",
|
author="The Home Assistant Authors",
|
||||||
|
@ -104,6 +104,7 @@ export class CloudRemotePref extends LitElement {
|
|||||||
}
|
}
|
||||||
fireEvent(this, "ha-refresh-cloud-status");
|
fireEvent(this, "ha-refresh-cloud-status");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
alert(err.message);
|
||||||
toggle.checked = !toggle.checked;
|
toggle.checked = !toggle.checked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,9 @@ It will have access to all data in Home Assistant.
|
|||||||
`.trim();
|
`.trim();
|
||||||
const iframeDoc = this.querySelector("iframe").contentWindow.document;
|
const iframeDoc = this.querySelector("iframe").contentWindow.document;
|
||||||
iframeDoc.open();
|
iframeDoc.open();
|
||||||
iframeDoc.write(`<script src='${window.customPanelJS}'></script>`);
|
iframeDoc.write(
|
||||||
|
`<!doctype html><script src='${window.customPanelJS}'></script>`
|
||||||
|
);
|
||||||
iframeDoc.close();
|
iframeDoc.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +66,6 @@ export class HUIView extends LitElement {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
console.log("CONSTRUCT HUI-VIEW");
|
|
||||||
this._cards = [];
|
this._cards = [];
|
||||||
this._badges = [];
|
this._badges = [];
|
||||||
}
|
}
|
||||||
|
@ -804,7 +804,7 @@
|
|||||||
"init": {
|
"init": {
|
||||||
"data": {
|
"data": {
|
||||||
"username": "用户名",
|
"username": "用户名",
|
||||||
"password": "ui::panel::page-authorize::form::providers::homeassistant::step::init::data::password"
|
"password": "密码"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mfa": {
|
"mfa": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user