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(
|
||||
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",
|
||||
|
@ -104,6 +104,7 @@ export class CloudRemotePref extends LitElement {
|
||||
}
|
||||
fireEvent(this, "ha-refresh-cloud-status");
|
||||
} catch (err) {
|
||||
alert(err.message);
|
||||
toggle.checked = !toggle.checked;
|
||||
}
|
||||
}
|
||||
|
@ -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(`<script src='${window.customPanelJS}'></script>`);
|
||||
iframeDoc.write(
|
||||
`<!doctype html><script src='${window.customPanelJS}'></script>`
|
||||
);
|
||||
iframeDoc.close();
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,6 @@ export class HUIView extends LitElement {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
console.log("CONSTRUCT HUI-VIEW");
|
||||
this._cards = [];
|
||||
this._badges = [];
|
||||
}
|
||||
|
@ -804,7 +804,7 @@
|
||||
"init": {
|
||||
"data": {
|
||||
"username": "用户名",
|
||||
"password": "ui::panel::page-authorize::form::providers::homeassistant::step::init::data::password"
|
||||
"password": "密码"
|
||||
}
|
||||
},
|
||||
"mfa": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user