mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
P3: Remove get is() (#1180)
This commit is contained in:
parent
89cb8c87ae
commit
5a16095270
@ -39,8 +39,6 @@ class HassioAddonRepository extends window.hassMixins.NavigateMixin(PolymerEleme
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addon-repository'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
repo: Object,
|
||||
@ -71,4 +69,4 @@ class HassioAddonRepository extends window.hassMixins.NavigateMixin(PolymerEleme
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioAddonRepository.is, HassioAddonRepository);
|
||||
customElements.define('hassio-addon-repository', HassioAddonRepository);
|
||||
|
@ -21,8 +21,6 @@ class HassioAddonStore extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addon-store'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -82,4 +80,4 @@ class HassioAddonStore extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioAddonStore.is, HassioAddonStore);
|
||||
customElements.define('hassio-addon-store', HassioAddonStore);
|
||||
|
@ -55,8 +55,6 @@ class HassioRepositoriesEditor extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-repositories-editor'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -90,4 +88,4 @@ class HassioRepositoriesEditor extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioRepositoriesEditor.is, HassioRepositoriesEditor);
|
||||
customElements.define('hassio-repositories-editor', HassioRepositoriesEditor);
|
||||
|
@ -59,8 +59,6 @@ class HassioAddonAudio extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addon-audio'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -114,4 +112,4 @@ class HassioAddonAudio extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioAddonAudio.is, HassioAddonAudio);
|
||||
customElements.define('hassio-addon-audio', HassioAddonAudio);
|
||||
|
@ -47,8 +47,6 @@ class HassioAddonConfig extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addon-config'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -97,4 +95,4 @@ class HassioAddonConfig extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioAddonConfig.is, HassioAddonConfig);
|
||||
customElements.define('hassio-addon-config', HassioAddonConfig);
|
||||
|
@ -146,8 +146,6 @@ class HassioAddonInfo extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addon-info'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -222,4 +220,4 @@ class HassioAddonInfo extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
});
|
||||
}
|
||||
}
|
||||
customElements.define(HassioAddonInfo.is, HassioAddonInfo);
|
||||
customElements.define('hassio-addon-info', HassioAddonInfo);
|
||||
|
@ -25,8 +25,6 @@ class HassioAddonLogs extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addon-logs'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -55,4 +53,4 @@ class HassioAddonLogs extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioAddonLogs.is, HassioAddonLogs);
|
||||
customElements.define('hassio-addon-logs', HassioAddonLogs);
|
||||
|
@ -57,8 +57,6 @@ class HassioAddonNetwork extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addon-network'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -107,4 +105,4 @@ class HassioAddonNetwork extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioAddonNetwork.is, HassioAddonNetwork);
|
||||
customElements.define('hassio-addon-network', HassioAddonNetwork);
|
||||
|
@ -67,8 +67,6 @@ class HassioAddonView extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addon-view'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -131,4 +129,4 @@ class HassioAddonView extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioAddonView.is, HassioAddonView);
|
||||
customElements.define('hassio-addon-view', HassioAddonView);
|
||||
|
@ -34,8 +34,6 @@ class HassioAddons extends window.hassMixins.NavigateMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-addons'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -72,4 +70,4 @@ class HassioAddons extends window.hassMixins.NavigateMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioAddons.is, HassioAddons);
|
||||
customElements.define('hassio-addons', HassioAddons);
|
||||
|
@ -19,8 +19,6 @@ class HassioDashboard extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-dashboard'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -30,4 +28,4 @@ class HassioDashboard extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioDashboard.is, HassioDashboard);
|
||||
customElements.define('hassio-dashboard', HassioDashboard);
|
||||
|
@ -43,8 +43,6 @@ class HassioHassUpdate extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-hass-update'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -78,4 +76,4 @@ class HassioHassUpdate extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioHassUpdate.is, HassioHassUpdate);
|
||||
customElements.define('hassio-hass-update', HassioHassUpdate);
|
||||
|
@ -12,8 +12,6 @@ class HassioApp extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-app'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -44,4 +42,4 @@ class HassioApp extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioApp.is, HassioApp);
|
||||
customElements.define('hassio-app', HassioApp);
|
||||
|
@ -1,8 +1,6 @@
|
||||
import { PolymerElement } from '@polymer/polymer/polymer-element.js';
|
||||
|
||||
class HassioData extends PolymerElement {
|
||||
static get is() { return 'hassio-data'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -59,4 +57,4 @@ class HassioData extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioData.is, HassioData);
|
||||
customElements.define('hassio-data', HassioData);
|
||||
|
@ -29,8 +29,6 @@ class HassioMain extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-main'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -101,4 +99,4 @@ class HassioMain extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioMain.is, HassioMain);
|
||||
customElements.define('hassio-main', HassioMain);
|
||||
|
@ -62,8 +62,6 @@ class HassioMarkdownDialog extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-markdown-dialog'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
title: String,
|
||||
@ -75,4 +73,4 @@ class HassioMarkdownDialog extends PolymerElement {
|
||||
this.$.dialog.open();
|
||||
}
|
||||
}
|
||||
customElements.define(HassioMarkdownDialog.is, HassioMarkdownDialog);
|
||||
customElements.define('hassio-markdown-dialog', HassioMarkdownDialog);
|
||||
|
@ -69,8 +69,6 @@ class HassioPagesWithTabs extends window.hassMixins.NavigateMixin(PolymerElement
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-pages-with-tabs'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -128,4 +126,4 @@ class HassioPagesWithTabs extends window.hassMixins.NavigateMixin(PolymerElement
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioPagesWithTabs.is, HassioPagesWithTabs);
|
||||
customElements.define('hassio-pages-with-tabs', HassioPagesWithTabs);
|
||||
|
@ -108,8 +108,6 @@ class HassioSnapshot extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-snapshot'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -254,4 +252,4 @@ class HassioSnapshot extends PolymerElement {
|
||||
this.snapshotSlug = null;
|
||||
}
|
||||
}
|
||||
customElements.define(HassioSnapshot.is, HassioSnapshot);
|
||||
customElements.define('hassio-snapshot', HassioSnapshot);
|
||||
|
@ -100,8 +100,6 @@ class HassioSnapshots extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-snapshots'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -261,4 +259,4 @@ class HassioSnapshots extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioSnapshots.is, HassioSnapshots);
|
||||
customElements.define('hassio-snapshots', HassioSnapshots);
|
||||
|
@ -79,8 +79,6 @@ class HassioHostInfo extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-host-info'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -154,4 +152,4 @@ class HassioHostInfo extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioHostInfo.is, HassioHostInfo);
|
||||
customElements.define('hassio-host-info', HassioHostInfo);
|
||||
|
@ -77,8 +77,6 @@ class HassioSupervisorInfo extends window.hassMixins.EventsMixin(PolymerElement)
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-supervisor-info'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -152,4 +150,4 @@ This inludes beta releases for:
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioSupervisorInfo.is, HassioSupervisorInfo);
|
||||
customElements.define('hassio-supervisor-info', HassioSupervisorInfo);
|
||||
|
@ -22,8 +22,6 @@ class HassioSupervisorLog extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-supervisor-log'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -50,4 +48,4 @@ class HassioSupervisorLog extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioSupervisorLog.is, HassioSupervisorLog);
|
||||
customElements.define('hassio-supervisor-log', HassioSupervisorLog);
|
||||
|
@ -31,8 +31,6 @@ class HassioSystem extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'hassio-system'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -42,4 +40,4 @@ class HassioSystem extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HassioSystem.is, HassioSystem);
|
||||
customElements.define('hassio-system', HassioSystem);
|
||||
|
@ -115,8 +115,6 @@ class HaAutomationEditor extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-automation-editor'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -290,4 +288,4 @@ class HaAutomationEditor extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaAutomationEditor.is, HaAutomationEditor);
|
||||
customElements.define('ha-automation-editor', HaAutomationEditor);
|
||||
|
@ -88,8 +88,6 @@ class HaAutomationPicker extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-automation-picker'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -138,4 +136,4 @@ class HaAutomationPicker extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaAutomationPicker.is, HaAutomationPicker);
|
||||
customElements.define('ha-automation-picker', HaAutomationPicker);
|
||||
|
@ -27,8 +27,6 @@ class HaConfigAutomation extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-automation'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -103,4 +101,4 @@ class HaConfigAutomation extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigAutomation.is, HaConfigAutomation);
|
||||
customElements.define('ha-config-automation', HaConfigAutomation);
|
||||
|
@ -132,8 +132,6 @@ class HaConfigCloudAccount extends window.hassMixins.EventsMixin(PolymerElement)
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-cloud-account'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -171,4 +169,4 @@ class HaConfigCloudAccount extends window.hassMixins.EventsMixin(PolymerElement)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigCloudAccount.is, HaConfigCloudAccount);
|
||||
customElements.define('ha-config-cloud-account', HaConfigCloudAccount);
|
||||
|
@ -61,8 +61,6 @@ class HaConfigCloudForgotPassword extends window.hassMixins.EventsMixin(PolymerE
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-cloud-forgot-password'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -119,4 +117,4 @@ class HaConfigCloudForgotPassword extends window.hassMixins.EventsMixin(PolymerE
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigCloudForgotPassword.is, HaConfigCloudForgotPassword);
|
||||
customElements.define('ha-config-cloud-forgot-password', HaConfigCloudForgotPassword);
|
||||
|
@ -104,8 +104,6 @@ class HaConfigCloudLogin extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-cloud-login'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -232,4 +230,4 @@ class HaConfigCloudLogin extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigCloudLogin.is, HaConfigCloudLogin);
|
||||
customElements.define('ha-config-cloud-login', HaConfigCloudLogin);
|
||||
|
@ -77,8 +77,6 @@ class HaConfigCloudRegister extends window.hassMixins.EventsMixin(PolymerElement
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-cloud-register'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -183,4 +181,4 @@ class HaConfigCloudRegister extends window.hassMixins.EventsMixin(PolymerElement
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigCloudRegister.is, HaConfigCloudRegister);
|
||||
customElements.define('ha-config-cloud-register', HaConfigCloudRegister);
|
||||
|
@ -44,8 +44,6 @@ import './ha-config-cloud-register.js';
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-cloud'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -105,5 +103,5 @@ import './ha-config-cloud-register.js';
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigCloud.is, HaConfigCloud);
|
||||
customElements.define('ha-config-cloud', HaConfigCloud);
|
||||
}
|
||||
|
@ -96,8 +96,6 @@ import './ha-config-flow.js';
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-entries'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -200,5 +198,5 @@ import './ha-config-flow.js';
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigManager.is, HaConfigManager);
|
||||
customElements.define('ha-config-entries', HaConfigManager);
|
||||
}
|
||||
|
@ -78,8 +78,6 @@ class HaConfigFlow extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-flow'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -192,4 +190,4 @@ class HaConfigFlow extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigFlow.is, HaConfigFlow);
|
||||
customElements.define('ha-config-flow', HaConfigFlow);
|
||||
|
@ -64,8 +64,6 @@ class HaConfigCore extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-core'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -100,4 +98,4 @@ class HaConfigCore extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigCore.is, HaConfigCore);
|
||||
customElements.define('ha-config-core', HaConfigCore);
|
||||
|
@ -115,8 +115,6 @@ class HaConfigSectionCore extends window.hassMixins.LocalizeMixin(PolymerElement
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-section-core'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -173,4 +171,4 @@ class HaConfigSectionCore extends window.hassMixins.LocalizeMixin(PolymerElement
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigSectionCore.is, HaConfigSectionCore);
|
||||
customElements.define('ha-config-section-core', HaConfigSectionCore);
|
||||
|
@ -27,7 +27,7 @@ class HaConfigSectionPushNotifications extends window.hassMixins.LocalizeMixin(P
|
||||
|
||||
<paper-card>
|
||||
<div class="card-content">
|
||||
<iron-label class="horizontal layout">
|
||||
<iron-label class="horizontal layout">
|
||||
[[localize('ui.panel.config.core.section.push_notifications.push_notifications')]]
|
||||
<ha-push-notifications-toggle hass="[[hass]]" push-supported="{{pushSupported}}"></ha-push-notifications-toggle>
|
||||
</iron-label>
|
||||
@ -37,8 +37,6 @@ class HaConfigSectionPushNotifications extends window.hassMixins.LocalizeMixin(P
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-section-push-notifications'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -51,4 +49,4 @@ class HaConfigSectionPushNotifications extends window.hassMixins.LocalizeMixin(P
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigSectionPushNotifications.is, HaConfigSectionPushNotifications);
|
||||
customElements.define('ha-config-section-push-notifications', HaConfigSectionPushNotifications);
|
||||
|
@ -37,8 +37,6 @@ class HaConfigSectionThemes extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-section-themes'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -91,4 +89,4 @@ class HaConfigSectionThemes extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigSectionThemes.is, HaConfigSectionThemes);
|
||||
customElements.define('ha-config-section-themes', HaConfigSectionThemes);
|
||||
|
@ -37,8 +37,6 @@ class HaConfigSectionTranslation extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-section-translation'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -83,4 +81,4 @@ class HaConfigSectionTranslation extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigSectionTranslation.is, HaConfigSectionTranslation);
|
||||
customElements.define('ha-config-section-translation', HaConfigSectionTranslation);
|
||||
|
@ -44,8 +44,6 @@ class HaConfigCustomize extends window.hassMixins.LocalizeMixin(PolymerElement)
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-customize'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -81,4 +79,4 @@ class HaConfigCustomize extends window.hassMixins.LocalizeMixin(PolymerElement)
|
||||
.sort(window.hassUtil.sortByName);
|
||||
}
|
||||
}
|
||||
customElements.define(HaConfigCustomize.is, HaConfigCustomize);
|
||||
customElements.define('ha-config-customize', HaConfigCustomize);
|
||||
|
@ -32,8 +32,6 @@ class HaCustomizeAttribute extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-customize-attribute'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
item: {
|
||||
@ -80,4 +78,4 @@ class HaCustomizeAttribute extends PolymerElement {
|
||||
}
|
||||
}
|
||||
}
|
||||
customElements.define(HaCustomizeAttribute.is, HaCustomizeAttribute);
|
||||
customElements.define('ha-customize-attribute', HaCustomizeAttribute);
|
||||
|
@ -19,8 +19,6 @@ class HaFormCustomizeAttributes extends MutableData(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-form-customize-attributes'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
attributes: {
|
||||
@ -30,4 +28,4 @@ class HaFormCustomizeAttributes extends MutableData(PolymerElement) {
|
||||
};
|
||||
}
|
||||
}
|
||||
customElements.define(HaFormCustomizeAttributes.is, HaFormCustomizeAttributes);
|
||||
customElements.define('ha-form-customize-attributes', HaFormCustomizeAttributes);
|
||||
|
@ -64,8 +64,6 @@ class HaFormCustomize extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-form-customize'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -266,4 +264,4 @@ class HaFormCustomize extends PolymerElement {
|
||||
);
|
||||
}
|
||||
}
|
||||
customElements.define(HaFormCustomize.is, HaFormCustomize);
|
||||
customElements.define('ha-form-customize', HaFormCustomize);
|
||||
|
@ -24,8 +24,6 @@ class HaCustomizeArray extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-customize-array'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
item: {
|
||||
@ -51,4 +49,4 @@ class HaCustomizeArray extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
return options.indexOf(item.value);
|
||||
}
|
||||
}
|
||||
customElements.define(HaCustomizeArray.is, HaCustomizeArray);
|
||||
customElements.define('ha-customize-array', HaCustomizeArray);
|
||||
|
@ -11,8 +11,6 @@ class HaCustomizeBoolean extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-customize-boolean'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
item: {
|
||||
@ -22,4 +20,4 @@ class HaCustomizeBoolean extends PolymerElement {
|
||||
};
|
||||
}
|
||||
}
|
||||
customElements.define(HaCustomizeBoolean.is, HaCustomizeBoolean);
|
||||
customElements.define('ha-customize-boolean', HaCustomizeBoolean);
|
||||
|
@ -23,8 +23,6 @@ class HaCustomizeIcon extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-customize-icon'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
item: {
|
||||
@ -34,4 +32,4 @@ class HaCustomizeIcon extends PolymerElement {
|
||||
};
|
||||
}
|
||||
}
|
||||
customElements.define(HaCustomizeIcon.is, HaCustomizeIcon);
|
||||
customElements.define('ha-customize-icon', HaCustomizeIcon);
|
||||
|
@ -23,8 +23,6 @@ class HaCustomizeKeyValue extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-customize-key-value'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
item: {
|
||||
@ -34,4 +32,4 @@ class HaCustomizeKeyValue extends PolymerElement {
|
||||
};
|
||||
}
|
||||
}
|
||||
customElements.define(HaCustomizeKeyValue.is, HaCustomizeKeyValue);
|
||||
customElements.define('ha-customize-key-value', HaCustomizeKeyValue);
|
||||
|
@ -10,8 +10,6 @@ class HaCustomizeString extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-customize-string'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
item: {
|
||||
@ -25,4 +23,4 @@ class HaCustomizeString extends PolymerElement {
|
||||
return item.description + (item.type === 'json' ? ' (JSON formatted)' : '');
|
||||
}
|
||||
}
|
||||
customElements.define(HaCustomizeString.is, HaCustomizeString);
|
||||
customElements.define('ha-customize-string', HaCustomizeString);
|
||||
|
@ -35,8 +35,6 @@ class HaConfigCloudMenu extends window.hassMixins.NavigateMixin(PolymerElement)
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-cloud-menu'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -50,4 +48,4 @@ class HaConfigCloudMenu extends window.hassMixins.NavigateMixin(PolymerElement)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigCloudMenu.is, HaConfigCloudMenu);
|
||||
customElements.define('ha-config-cloud-menu', HaConfigCloudMenu);
|
||||
|
@ -51,8 +51,6 @@ class HaConfigDashboard extends window.hassMixins.LocalizeMixin(PolymerElement)
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-dashboard'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -68,4 +66,4 @@ class HaConfigDashboard extends window.hassMixins.LocalizeMixin(PolymerElement)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigDashboard.is, HaConfigDashboard);
|
||||
customElements.define('ha-config-dashboard', HaConfigDashboard);
|
||||
|
@ -30,8 +30,6 @@ class HaConfigEntriesMenu extends window.hassMixins.NavigateMixin(PolymerElement
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-entries-menu'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -45,4 +43,4 @@ class HaConfigEntriesMenu extends window.hassMixins.NavigateMixin(PolymerElement
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigEntriesMenu.is, HaConfigEntriesMenu);
|
||||
customElements.define('ha-config-entries-menu', HaConfigEntriesMenu);
|
||||
|
@ -44,8 +44,6 @@ import '../../../src/util/hass-mixins.js';
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-navigation'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -82,5 +80,5 @@ import '../../../src/util/hass-mixins.js';
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigNavigation.is, HaConfigNavigation);
|
||||
customElements.define('ha-config-navigation', HaConfigNavigation);
|
||||
}
|
||||
|
@ -69,8 +69,6 @@ class HaConfigSection extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-section'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -106,4 +104,4 @@ class HaConfigSection extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigSection.is, HaConfigSection);
|
||||
customElements.define('ha-config-section', HaConfigSection);
|
||||
|
@ -74,8 +74,6 @@ class HaEntityConfig extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-entity-config'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -198,4 +196,4 @@ class HaEntityConfig extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaEntityConfig.is, HaEntityConfig);
|
||||
customElements.define('ha-entity-config', HaEntityConfig);
|
||||
|
@ -102,8 +102,6 @@ class HaPanelConfig extends window.hassMixins.NavigateMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-panel-config'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -153,4 +151,4 @@ class HaPanelConfig extends window.hassMixins.NavigateMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelConfig.is, HaPanelConfig);
|
||||
customElements.define('ha-panel-config', HaPanelConfig);
|
||||
|
@ -27,8 +27,6 @@ class HaConfigScript extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-script'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -100,4 +98,4 @@ class HaConfigScript extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigScript.is, HaConfigScript);
|
||||
customElements.define('ha-config-script', HaConfigScript);
|
||||
|
@ -110,8 +110,6 @@ class HaScriptEditor extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-script-editor'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -281,4 +279,4 @@ class HaScriptEditor extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaScriptEditor.is, HaScriptEditor);
|
||||
customElements.define('ha-script-editor', HaScriptEditor);
|
||||
|
@ -84,8 +84,6 @@ class HaScriptPicker extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-script-picker'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -134,4 +132,4 @@ class HaScriptPicker extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaScriptPicker.is, HaScriptPicker);
|
||||
customElements.define('ha-script-picker', HaScriptPicker);
|
||||
|
@ -209,8 +209,6 @@ class HaConfigZwave extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-config-zwave'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -474,4 +472,4 @@ class HaConfigZwave extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaConfigZwave.is, HaConfigZwave);
|
||||
customElements.define('ha-config-zwave', HaConfigZwave);
|
||||
|
@ -83,8 +83,6 @@ class ZwaveGroups extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'zwave-groups'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -238,4 +236,4 @@ class ZwaveGroups extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(ZwaveGroups.is, ZwaveGroups);
|
||||
customElements.define('zwave-groups', ZwaveGroups);
|
||||
|
@ -45,8 +45,6 @@ class OzwLog extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ozw-log'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -79,4 +77,4 @@ class OzwLog extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(OzwLog.is, OzwLog);
|
||||
customElements.define('ozw-log', OzwLog);
|
||||
|
@ -92,8 +92,6 @@ class ZwaveNetwork extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'zwave-network'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -117,4 +115,4 @@ class ZwaveNetwork extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(ZwaveNetwork.is, ZwaveNetwork);
|
||||
customElements.define('zwave-network', ZwaveNetwork);
|
||||
|
@ -96,8 +96,6 @@ class ZwaveNodeConfig extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'zwave-node-config'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -295,4 +293,4 @@ class ZwaveNodeConfig extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(ZwaveNodeConfig.is, ZwaveNodeConfig);
|
||||
customElements.define('zwave-node-config', ZwaveNodeConfig);
|
||||
|
@ -44,8 +44,6 @@ class ZwaveNodeInformation extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'zwave-node-information'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
nodes: {
|
||||
@ -80,4 +78,4 @@ class ZwaveNodeInformation extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(ZwaveNodeInformation.is, ZwaveNodeInformation);
|
||||
customElements.define('zwave-node-information', ZwaveNodeInformation);
|
||||
|
@ -58,8 +58,6 @@ class ZwaveUsercodes extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'zwave-usercodes'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -194,4 +192,4 @@ class ZwaveUsercodes extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(ZwaveUsercodes.is, ZwaveUsercodes);
|
||||
customElements.define('zwave-usercodes', ZwaveUsercodes);
|
||||
|
@ -58,8 +58,6 @@ class ZwaveValues extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'zwave-values'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -146,4 +144,4 @@ class ZwaveValues extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(ZwaveValues.is, ZwaveValues);
|
||||
customElements.define('zwave-values', ZwaveValues);
|
||||
|
@ -33,8 +33,6 @@ class EventsList extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'events-list'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -60,4 +58,4 @@ class EventsList extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(EventsList.is, EventsList);
|
||||
customElements.define('events-list', EventsList);
|
||||
|
@ -68,8 +68,6 @@ class HaPanelDevEvent extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-panel-dev-event'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -128,4 +126,4 @@ class HaPanelDevEvent extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelDevEvent.is, HaPanelDevEvent);
|
||||
customElements.define('ha-panel-dev-event', HaPanelDevEvent);
|
||||
|
@ -215,7 +215,6 @@ class HaPanelDevInfo extends PolymerElement {
|
||||
</paper-dialog>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-dev-info'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -330,4 +329,4 @@ class HaPanelDevInfo extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelDevInfo.is, HaPanelDevInfo);
|
||||
customElements.define('ha-panel-dev-info', HaPanelDevInfo);
|
||||
|
@ -78,8 +78,6 @@ class HaPanelDevMqtt extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-panel-dev-mqtt'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -98,4 +96,4 @@ class HaPanelDevMqtt extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelDevMqtt.is, HaPanelDevMqtt);
|
||||
customElements.define('ha-panel-dev-mqtt', HaPanelDevMqtt);
|
||||
|
@ -167,7 +167,6 @@ import '../../src/util/app-localstorage-document.js';
|
||||
</app-header-layout>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-dev-service'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -301,5 +300,5 @@ import '../../src/util/app-localstorage-document.js';
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelDevService.is, HaPanelDevService);
|
||||
customElements.define('ha-panel-dev-service', HaPanelDevService);
|
||||
}
|
||||
|
@ -135,7 +135,6 @@ class HaPanelDevState extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
</app-header-layout>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-dev-state'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -316,4 +315,4 @@ class HaPanelDevState extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelDevState.is, HaPanelDevState);
|
||||
customElements.define('ha-panel-dev-state', HaPanelDevState);
|
||||
|
@ -98,7 +98,6 @@ class HaPanelDevTemplate extends PolymerElement {
|
||||
</app-header-layout>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-dev-template'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -196,4 +195,4 @@ For loop example:
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelDevTemplate.is, HaPanelDevTemplate);
|
||||
customElements.define('ha-panel-dev-template', HaPanelDevTemplate);
|
||||
|
@ -21,7 +21,6 @@ class HaPanelHassio extends
|
||||
></iframe>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-hassio'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -77,4 +76,4 @@ class HaPanelHassio extends
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelHassio.is, HaPanelHassio);
|
||||
customElements.define('ha-panel-hassio', HaPanelHassio);
|
||||
|
@ -94,7 +94,6 @@ class HaPanelHistory extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
</app-header-layout>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-history'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -186,4 +185,4 @@ class HaPanelHistory extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelHistory.is, HaPanelHistory);
|
||||
customElements.define('ha-panel-history', HaPanelHistory);
|
||||
|
@ -27,7 +27,6 @@ class HaPanelIframe extends PolymerElement {
|
||||
></iframe>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-iframe'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -46,4 +45,4 @@ class HaPanelIframe extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelIframe.is, HaPanelIframe);
|
||||
customElements.define('ha-panel-iframe', HaPanelIframe);
|
||||
|
@ -15,7 +15,6 @@ class HaPanelKiosk extends PolymerElement {
|
||||
></partial-cards>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-kiosk'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -25,4 +24,4 @@ class HaPanelKiosk extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelKiosk.is, HaPanelKiosk);
|
||||
customElements.define('ha-panel-kiosk', HaPanelKiosk);
|
||||
|
@ -4,8 +4,6 @@ import { PolymerElement } from '@polymer/polymer/polymer-element.js';
|
||||
var DATE_CACHE = {};
|
||||
|
||||
class HaLogbookData extends PolymerElement {
|
||||
static get is() { return 'ha-logbook-data'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -74,5 +72,5 @@ import { PolymerElement } from '@polymer/polymer/polymer-element.js';
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaLogbookData.is, HaLogbookData);
|
||||
customElements.define('ha-logbook-data', HaLogbookData);
|
||||
}
|
||||
|
@ -62,8 +62,6 @@ class HaLogbook extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-logbook'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -87,4 +85,4 @@ class HaLogbook extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaLogbook.is, HaLogbook);
|
||||
customElements.define('ha-logbook', HaLogbook);
|
||||
|
@ -86,7 +86,6 @@ class HaPanelLogbook extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
</app-header-layout>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-logbook'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -149,4 +148,4 @@ class HaPanelLogbook extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelLogbook.is, HaPanelLogbook);
|
||||
customElements.define('ha-panel-logbook', HaPanelLogbook);
|
||||
|
@ -149,7 +149,6 @@ class HaPanelMailbox extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
</paper-dialog>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-mailbox'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -266,4 +265,4 @@ class HaPanelMailbox extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelMailbox.is, HaPanelMailbox);
|
||||
customElements.define('ha-panel-mailbox', HaPanelMailbox);
|
||||
|
@ -39,8 +39,6 @@ class HaEntityMarker extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-entity-marker'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -77,4 +75,4 @@ class HaEntityMarker extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaEntityMarker.is, HaEntityMarker);
|
||||
customElements.define('ha-entity-marker', HaEntityMarker);
|
||||
|
@ -32,7 +32,6 @@ class HaPanelMap extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
<div id='map'></div>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-map'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -194,4 +193,4 @@ class HaPanelMap extends window.hassMixins.LocalizeMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelMap.is, HaPanelMap);
|
||||
customElements.define('ha-panel-map', HaPanelMap);
|
||||
|
@ -135,7 +135,6 @@ class HaPanelShoppingList extends window.hassMixins.LocalizeMixin(PolymerElement
|
||||
</app-header-layout>
|
||||
`;
|
||||
}
|
||||
static get is() { return 'ha-panel-shopping-list'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
@ -215,4 +214,4 @@ class HaPanelShoppingList extends window.hassMixins.LocalizeMixin(PolymerElement
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPanelShoppingList.is, HaPanelShoppingList);
|
||||
customElements.define('ha-panel-shopping-list', HaPanelShoppingList);
|
||||
|
@ -31,7 +31,6 @@ class HaAuthFlow extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-auth-flow'; }
|
||||
static get properties() {
|
||||
return {
|
||||
authProvider: Object,
|
||||
@ -134,4 +133,4 @@ class HaAuthFlow extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
});
|
||||
}
|
||||
}
|
||||
customElements.define(HaAuthFlow.is, HaAuthFlow);
|
||||
customElements.define('ha-auth-flow', HaAuthFlow);
|
||||
|
@ -29,7 +29,6 @@ class HaAuthorize extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-authorize'; }
|
||||
static get properties() {
|
||||
return {
|
||||
_authProvider: {
|
||||
@ -66,4 +65,4 @@ class HaAuthorize extends PolymerElement {
|
||||
this._authProvider = null;
|
||||
}
|
||||
}
|
||||
customElements.define(HaAuthorize.is, HaAuthorize);
|
||||
customElements.define('ha-authorize', HaAuthorize);
|
||||
|
@ -37,7 +37,6 @@ class HaPickAuthProvider extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-pick-auth-provider'; }
|
||||
static get properties() {
|
||||
return {
|
||||
_state: {
|
||||
@ -82,4 +81,4 @@ class HaPickAuthProvider extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
return a === b;
|
||||
}
|
||||
}
|
||||
customElements.define(HaPickAuthProvider.is, HaPickAuthProvider);
|
||||
customElements.define('ha-pick-auth-provider', HaPickAuthProvider);
|
||||
|
@ -18,7 +18,6 @@ class HaBadgesCard extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-badges-card'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -26,4 +25,4 @@ class HaBadgesCard extends PolymerElement {
|
||||
};
|
||||
}
|
||||
}
|
||||
customElements.define(HaBadgesCard.is, HaBadgesCard);
|
||||
customElements.define('ha-badges-card', HaBadgesCard);
|
||||
|
@ -59,7 +59,6 @@ import '../util/hass-mixins.js';
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-camera-card'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -114,5 +113,5 @@ import '../util/hass-mixins.js';
|
||||
return window.hassUtil.computeStateName(stateObj);
|
||||
}
|
||||
}
|
||||
customElements.define(HaCameraCard.is, HaCameraCard);
|
||||
customElements.define('ha-camera-card', HaCameraCard);
|
||||
}
|
||||
|
@ -9,7 +9,6 @@ import './ha-plant-card.js';
|
||||
import './ha-weather-card.js';
|
||||
|
||||
class HaCardChooser extends PolymerElement {
|
||||
static get is() { return 'ha-card-chooser'; }
|
||||
static get properties() {
|
||||
return {
|
||||
cardData: {
|
||||
@ -76,4 +75,4 @@ class HaCardChooser extends PolymerElement {
|
||||
}
|
||||
}
|
||||
}
|
||||
customElements.define(HaCardChooser.is, HaCardChooser);
|
||||
customElements.define('ha-card-chooser', HaCardChooser);
|
||||
|
@ -58,7 +58,6 @@ class HaEntitiesCard extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-entities-card'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -148,4 +147,4 @@ class HaEntitiesCard extends
|
||||
return canToggleCount > 1;
|
||||
}
|
||||
}
|
||||
customElements.define(HaEntitiesCard.is, HaEntitiesCard);
|
||||
customElements.define('ha-entities-card', HaEntitiesCard);
|
||||
|
@ -44,7 +44,6 @@ class HaHistoryGraphCard extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-history_graph-card'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -106,4 +105,4 @@ class HaHistoryGraphCard extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
}
|
||||
customElements.define(HaHistoryGraphCard.is, HaHistoryGraphCard);
|
||||
customElements.define('ha-history_graph-card', HaHistoryGraphCard);
|
||||
|
@ -181,7 +181,6 @@ class HaMediaPlayerCard extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-media_player-card'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -307,4 +306,4 @@ class HaMediaPlayerCard extends
|
||||
this.playerObj.togglePower();
|
||||
}
|
||||
}
|
||||
customElements.define(HaMediaPlayerCard.is, HaMediaPlayerCard);
|
||||
customElements.define('ha-media_player-card', HaMediaPlayerCard);
|
||||
|
@ -48,7 +48,6 @@ class HaPersistentNotificationCard extends window.hassMixins.LocalizeMixin(Polym
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-persistent_notification-card'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -66,4 +65,4 @@ class HaPersistentNotificationCard extends window.hassMixins.LocalizeMixin(Polym
|
||||
this.hass.callApi('DELETE', 'states/' + this.stateObj.entity_id);
|
||||
}
|
||||
}
|
||||
customElements.define(HaPersistentNotificationCard.is, HaPersistentNotificationCard);
|
||||
customElements.define('ha-persistent_notification-card', HaPersistentNotificationCard);
|
||||
|
@ -49,7 +49,6 @@ class HaPlantCard extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-plant-card'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -105,4 +104,4 @@ class HaPlantCard extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaPlantCard.is, HaPlantCard);
|
||||
customElements.define('ha-plant-card', HaPlantCard);
|
||||
|
@ -144,7 +144,6 @@ class HaWeatherCard extends
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-weather-card'; }
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -237,4 +236,4 @@ class HaWeatherCard extends
|
||||
return date.toLocaleDateString(this.hass.selectedLanguage || this.hass.language, { weekday: 'short' });
|
||||
}
|
||||
}
|
||||
customElements.define(HaWeatherCard.is, HaWeatherCard);
|
||||
customElements.define('ha-weather-card', HaWeatherCard);
|
||||
|
@ -11,8 +11,6 @@ class HaCallApiButton extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-call-api-button'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: Object,
|
||||
@ -66,4 +64,4 @@ class HaCallApiButton extends window.hassMixins.EventsMixin(PolymerElement) {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaCallApiButton.is, HaCallApiButton);
|
||||
customElements.define('ha-call-api-button', HaCallApiButton);
|
||||
|
@ -11,8 +11,6 @@ class HaCallServiceButton extends window.hassMixins.EventsMixin(PolymerElement)
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-call-service-button'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -63,4 +61,4 @@ class HaCallServiceButton extends window.hassMixins.EventsMixin(PolymerElement)
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaCallServiceButton.is, HaCallServiceButton);
|
||||
customElements.define('ha-call-service-button', HaCallServiceButton);
|
||||
|
@ -55,8 +55,6 @@ class HaProgressButton extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'ha-progress-button'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
hass: {
|
||||
@ -105,4 +103,4 @@ class HaProgressButton extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(HaProgressButton.is, HaProgressButton);
|
||||
customElements.define('ha-progress-button', HaProgressButton);
|
||||
|
@ -11,8 +11,6 @@ class DomainIcon extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'domain-icon'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
domain: {
|
||||
@ -32,4 +30,4 @@ class DomainIcon extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(DomainIcon.is, DomainIcon);
|
||||
customElements.define('domain-icon', DomainIcon);
|
||||
|
@ -134,7 +134,7 @@ class HaChartBase extends mixinBehaviors([
|
||||
get chart() {
|
||||
return this._chart;
|
||||
}
|
||||
static get is() { return 'ha-chart-base'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
data: Object,
|
||||
@ -537,4 +537,4 @@ class HaChartBase extends mixinBehaviors([
|
||||
return getColor;
|
||||
}
|
||||
}
|
||||
customElements.define(HaChartBase.is, HaChartBase);
|
||||
customElements.define('ha-chart-base', HaChartBase);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user