P3: Remove get is() (#1180)

This commit is contained in:
c727 2018-05-16 13:06:07 +02:00 committed by Paulus Schoutsen
parent 89cb8c87ae
commit 5a16095270
183 changed files with 186 additions and 517 deletions

View File

@ -39,8 +39,6 @@ class HassioAddonRepository extends window.hassMixins.NavigateMixin(PolymerEleme
`; `;
} }
static get is() { return 'hassio-addon-repository'; }
static get properties() { static get properties() {
return { return {
repo: Object, repo: Object,
@ -71,4 +69,4 @@ class HassioAddonRepository extends window.hassMixins.NavigateMixin(PolymerEleme
} }
} }
customElements.define(HassioAddonRepository.is, HassioAddonRepository); customElements.define('hassio-addon-repository', HassioAddonRepository);

View File

@ -21,8 +21,6 @@ class HassioAddonStore extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-addon-store'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -82,4 +80,4 @@ class HassioAddonStore extends PolymerElement {
} }
} }
customElements.define(HassioAddonStore.is, HassioAddonStore); customElements.define('hassio-addon-store', HassioAddonStore);

View File

@ -55,8 +55,6 @@ class HassioRepositoriesEditor extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-repositories-editor'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -90,4 +88,4 @@ class HassioRepositoriesEditor extends PolymerElement {
} }
} }
customElements.define(HassioRepositoriesEditor.is, HassioRepositoriesEditor); customElements.define('hassio-repositories-editor', HassioRepositoriesEditor);

View File

@ -59,8 +59,6 @@ class HassioAddonAudio extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'hassio-addon-audio'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -114,4 +112,4 @@ class HassioAddonAudio extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HassioAddonAudio.is, HassioAddonAudio); customElements.define('hassio-addon-audio', HassioAddonAudio);

View File

@ -47,8 +47,6 @@ class HassioAddonConfig extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-addon-config'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -97,4 +95,4 @@ class HassioAddonConfig extends PolymerElement {
} }
} }
customElements.define(HassioAddonConfig.is, HassioAddonConfig); customElements.define('hassio-addon-config', HassioAddonConfig);

View File

@ -146,8 +146,6 @@ class HassioAddonInfo extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'hassio-addon-info'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -222,4 +220,4 @@ class HassioAddonInfo extends window.hassMixins.EventsMixin(PolymerElement) {
}); });
} }
} }
customElements.define(HassioAddonInfo.is, HassioAddonInfo); customElements.define('hassio-addon-info', HassioAddonInfo);

View File

@ -25,8 +25,6 @@ class HassioAddonLogs extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-addon-logs'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -55,4 +53,4 @@ class HassioAddonLogs extends PolymerElement {
} }
} }
customElements.define(HassioAddonLogs.is, HassioAddonLogs); customElements.define('hassio-addon-logs', HassioAddonLogs);

View File

@ -57,8 +57,6 @@ class HassioAddonNetwork extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'hassio-addon-network'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -107,4 +105,4 @@ class HassioAddonNetwork extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HassioAddonNetwork.is, HassioAddonNetwork); customElements.define('hassio-addon-network', HassioAddonNetwork);

View File

@ -67,8 +67,6 @@ class HassioAddonView extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-addon-view'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -131,4 +129,4 @@ class HassioAddonView extends PolymerElement {
} }
} }
customElements.define(HassioAddonView.is, HassioAddonView); customElements.define('hassio-addon-view', HassioAddonView);

View File

@ -34,8 +34,6 @@ class HassioAddons extends window.hassMixins.NavigateMixin(PolymerElement) {
`; `;
} }
static get is() { return 'hassio-addons'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -72,4 +70,4 @@ class HassioAddons extends window.hassMixins.NavigateMixin(PolymerElement) {
} }
} }
customElements.define(HassioAddons.is, HassioAddons); customElements.define('hassio-addons', HassioAddons);

View File

@ -19,8 +19,6 @@ class HassioDashboard extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'hassio-dashboard'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -30,4 +28,4 @@ class HassioDashboard extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HassioDashboard.is, HassioDashboard); customElements.define('hassio-dashboard', HassioDashboard);

View File

@ -43,8 +43,6 @@ class HassioHassUpdate extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-hass-update'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -78,4 +76,4 @@ class HassioHassUpdate extends PolymerElement {
} }
} }
customElements.define(HassioHassUpdate.is, HassioHassUpdate); customElements.define('hassio-hass-update', HassioHassUpdate);

View File

@ -12,8 +12,6 @@ class HassioApp extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-app'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -44,4 +42,4 @@ class HassioApp extends PolymerElement {
} }
} }
customElements.define(HassioApp.is, HassioApp); customElements.define('hassio-app', HassioApp);

View File

@ -1,8 +1,6 @@
import { PolymerElement } from '@polymer/polymer/polymer-element.js'; import { PolymerElement } from '@polymer/polymer/polymer-element.js';
class HassioData extends PolymerElement { class HassioData extends PolymerElement {
static get is() { return 'hassio-data'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -59,4 +57,4 @@ class HassioData extends PolymerElement {
} }
} }
customElements.define(HassioData.is, HassioData); customElements.define('hassio-data', HassioData);

View File

@ -29,8 +29,6 @@ class HassioMain extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'hassio-main'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -101,4 +99,4 @@ class HassioMain extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HassioMain.is, HassioMain); customElements.define('hassio-main', HassioMain);

View File

@ -62,8 +62,6 @@ class HassioMarkdownDialog extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-markdown-dialog'; }
static get properties() { static get properties() {
return { return {
title: String, title: String,
@ -75,4 +73,4 @@ class HassioMarkdownDialog extends PolymerElement {
this.$.dialog.open(); this.$.dialog.open();
} }
} }
customElements.define(HassioMarkdownDialog.is, HassioMarkdownDialog); customElements.define('hassio-markdown-dialog', HassioMarkdownDialog);

View File

@ -69,8 +69,6 @@ class HassioPagesWithTabs extends window.hassMixins.NavigateMixin(PolymerElement
`; `;
} }
static get is() { return 'hassio-pages-with-tabs'; }
static get properties() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -108,8 +108,6 @@ class HassioSnapshot extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-snapshot'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -254,4 +252,4 @@ class HassioSnapshot extends PolymerElement {
this.snapshotSlug = null; this.snapshotSlug = null;
} }
} }
customElements.define(HassioSnapshot.is, HassioSnapshot); customElements.define('hassio-snapshot', HassioSnapshot);

View File

@ -100,8 +100,6 @@ class HassioSnapshots extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'hassio-snapshots'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -261,4 +259,4 @@ class HassioSnapshots extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HassioSnapshots.is, HassioSnapshots); customElements.define('hassio-snapshots', HassioSnapshots);

View File

@ -79,8 +79,6 @@ class HassioHostInfo extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'hassio-host-info'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -154,4 +152,4 @@ class HassioHostInfo extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HassioHostInfo.is, HassioHostInfo); customElements.define('hassio-host-info', HassioHostInfo);

View File

@ -77,8 +77,6 @@ class HassioSupervisorInfo extends window.hassMixins.EventsMixin(PolymerElement)
`; `;
} }
static get is() { return 'hassio-supervisor-info'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -152,4 +150,4 @@ This inludes beta releases for:
} }
} }
customElements.define(HassioSupervisorInfo.is, HassioSupervisorInfo); customElements.define('hassio-supervisor-info', HassioSupervisorInfo);

View File

@ -22,8 +22,6 @@ class HassioSupervisorLog extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-supervisor-log'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -50,4 +48,4 @@ class HassioSupervisorLog extends PolymerElement {
} }
} }
customElements.define(HassioSupervisorLog.is, HassioSupervisorLog); customElements.define('hassio-supervisor-log', HassioSupervisorLog);

View File

@ -31,8 +31,6 @@ class HassioSystem extends PolymerElement {
`; `;
} }
static get is() { return 'hassio-system'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -42,4 +40,4 @@ class HassioSystem extends PolymerElement {
} }
} }
customElements.define(HassioSystem.is, HassioSystem); customElements.define('hassio-system', HassioSystem);

View File

@ -115,8 +115,6 @@ class HaAutomationEditor extends
`; `;
} }
static get is() { return 'ha-automation-editor'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -290,4 +288,4 @@ class HaAutomationEditor extends
} }
} }
customElements.define(HaAutomationEditor.is, HaAutomationEditor); customElements.define('ha-automation-editor', HaAutomationEditor);

View File

@ -88,8 +88,6 @@ class HaAutomationPicker extends
`; `;
} }
static get is() { return 'ha-automation-picker'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -138,4 +136,4 @@ class HaAutomationPicker extends
} }
} }
customElements.define(HaAutomationPicker.is, HaAutomationPicker); customElements.define('ha-automation-picker', HaAutomationPicker);

View File

@ -27,8 +27,6 @@ class HaConfigAutomation extends PolymerElement {
`; `;
} }
static get is() { return 'ha-config-automation'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -103,4 +101,4 @@ class HaConfigAutomation extends PolymerElement {
} }
} }
customElements.define(HaConfigAutomation.is, HaConfigAutomation); customElements.define('ha-config-automation', HaConfigAutomation);

View File

@ -132,8 +132,6 @@ class HaConfigCloudAccount extends window.hassMixins.EventsMixin(PolymerElement)
`; `;
} }
static get is() { return 'ha-config-cloud-account'; }
static get properties() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -61,8 +61,6 @@ class HaConfigCloudForgotPassword extends window.hassMixins.EventsMixin(PolymerE
`; `;
} }
static get is() { return 'ha-config-cloud-forgot-password'; }
static get properties() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -104,8 +104,6 @@ class HaConfigCloudLogin extends
`; `;
} }
static get is() { return 'ha-config-cloud-login'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -232,4 +230,4 @@ class HaConfigCloudLogin extends
} }
} }
customElements.define(HaConfigCloudLogin.is, HaConfigCloudLogin); customElements.define('ha-config-cloud-login', HaConfigCloudLogin);

View File

@ -77,8 +77,6 @@ class HaConfigCloudRegister extends window.hassMixins.EventsMixin(PolymerElement
`; `;
} }
static get is() { return 'ha-config-cloud-register'; }
static get properties() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -44,8 +44,6 @@ import './ha-config-cloud-register.js';
`; `;
} }
static get is() { return 'ha-config-cloud'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -105,5 +103,5 @@ import './ha-config-cloud-register.js';
} }
} }
customElements.define(HaConfigCloud.is, HaConfigCloud); customElements.define('ha-config-cloud', HaConfigCloud);
} }

View File

@ -96,8 +96,6 @@ import './ha-config-flow.js';
`; `;
} }
static get is() { return 'ha-config-entries'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -200,5 +198,5 @@ import './ha-config-flow.js';
} }
} }
customElements.define(HaConfigManager.is, HaConfigManager); customElements.define('ha-config-entries', HaConfigManager);
} }

View File

@ -78,8 +78,6 @@ class HaConfigFlow extends
`; `;
} }
static get is() { return 'ha-config-flow'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -192,4 +190,4 @@ class HaConfigFlow extends
} }
} }
customElements.define(HaConfigFlow.is, HaConfigFlow); customElements.define('ha-config-flow', HaConfigFlow);

View File

@ -64,8 +64,6 @@ class HaConfigCore extends window.hassMixins.LocalizeMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-config-core'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -100,4 +98,4 @@ class HaConfigCore extends window.hassMixins.LocalizeMixin(PolymerElement) {
} }
} }
customElements.define(HaConfigCore.is, HaConfigCore); customElements.define('ha-config-core', HaConfigCore);

View File

@ -115,8 +115,6 @@ class HaConfigSectionCore extends window.hassMixins.LocalizeMixin(PolymerElement
`; `;
} }
static get is() { return 'ha-config-section-core'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -173,4 +171,4 @@ class HaConfigSectionCore extends window.hassMixins.LocalizeMixin(PolymerElement
} }
} }
customElements.define(HaConfigSectionCore.is, HaConfigSectionCore); customElements.define('ha-config-section-core', HaConfigSectionCore);

View File

@ -27,7 +27,7 @@ class HaConfigSectionPushNotifications extends window.hassMixins.LocalizeMixin(P
<paper-card> <paper-card>
<div class="card-content"> <div class="card-content">
<iron-label class="horizontal layout"> <iron-label class="horizontal layout">
[[localize('ui.panel.config.core.section.push_notifications.push_notifications')]] [[localize('ui.panel.config.core.section.push_notifications.push_notifications')]]
<ha-push-notifications-toggle hass="[[hass]]" push-supported="{{pushSupported}}"></ha-push-notifications-toggle> <ha-push-notifications-toggle hass="[[hass]]" push-supported="{{pushSupported}}"></ha-push-notifications-toggle>
</iron-label> </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() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -37,8 +37,6 @@ class HaConfigSectionThemes extends
`; `;
} }
static get is() { return 'ha-config-section-themes'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -91,4 +89,4 @@ class HaConfigSectionThemes extends
} }
} }
customElements.define(HaConfigSectionThemes.is, HaConfigSectionThemes); customElements.define('ha-config-section-themes', HaConfigSectionThemes);

View File

@ -37,8 +37,6 @@ class HaConfigSectionTranslation extends
`; `;
} }
static get is() { return 'ha-config-section-translation'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -83,4 +81,4 @@ class HaConfigSectionTranslation extends
} }
} }
customElements.define(HaConfigSectionTranslation.is, HaConfigSectionTranslation); customElements.define('ha-config-section-translation', HaConfigSectionTranslation);

View File

@ -44,8 +44,6 @@ class HaConfigCustomize extends window.hassMixins.LocalizeMixin(PolymerElement)
`; `;
} }
static get is() { return 'ha-config-customize'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -81,4 +79,4 @@ class HaConfigCustomize extends window.hassMixins.LocalizeMixin(PolymerElement)
.sort(window.hassUtil.sortByName); .sort(window.hassUtil.sortByName);
} }
} }
customElements.define(HaConfigCustomize.is, HaConfigCustomize); customElements.define('ha-config-customize', HaConfigCustomize);

View File

@ -32,8 +32,6 @@ class HaCustomizeAttribute extends PolymerElement {
`; `;
} }
static get is() { return 'ha-customize-attribute'; }
static get properties() { static get properties() {
return { return {
item: { item: {
@ -80,4 +78,4 @@ class HaCustomizeAttribute extends PolymerElement {
} }
} }
} }
customElements.define(HaCustomizeAttribute.is, HaCustomizeAttribute); customElements.define('ha-customize-attribute', HaCustomizeAttribute);

View File

@ -19,8 +19,6 @@ class HaFormCustomizeAttributes extends MutableData(PolymerElement) {
`; `;
} }
static get is() { return 'ha-form-customize-attributes'; }
static get properties() { static get properties() {
return { return {
attributes: { attributes: {
@ -30,4 +28,4 @@ class HaFormCustomizeAttributes extends MutableData(PolymerElement) {
}; };
} }
} }
customElements.define(HaFormCustomizeAttributes.is, HaFormCustomizeAttributes); customElements.define('ha-form-customize-attributes', HaFormCustomizeAttributes);

View File

@ -64,8 +64,6 @@ class HaFormCustomize extends PolymerElement {
`; `;
} }
static get is() { return 'ha-form-customize'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -266,4 +264,4 @@ class HaFormCustomize extends PolymerElement {
); );
} }
} }
customElements.define(HaFormCustomize.is, HaFormCustomize); customElements.define('ha-form-customize', HaFormCustomize);

View File

@ -24,8 +24,6 @@ class HaCustomizeArray extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-customize-array'; }
static get properties() { static get properties() {
return { return {
item: { item: {
@ -51,4 +49,4 @@ class HaCustomizeArray extends window.hassMixins.EventsMixin(PolymerElement) {
return options.indexOf(item.value); return options.indexOf(item.value);
} }
} }
customElements.define(HaCustomizeArray.is, HaCustomizeArray); customElements.define('ha-customize-array', HaCustomizeArray);

View File

@ -11,8 +11,6 @@ class HaCustomizeBoolean extends PolymerElement {
`; `;
} }
static get is() { return 'ha-customize-boolean'; }
static get properties() { static get properties() {
return { return {
item: { item: {
@ -22,4 +20,4 @@ class HaCustomizeBoolean extends PolymerElement {
}; };
} }
} }
customElements.define(HaCustomizeBoolean.is, HaCustomizeBoolean); customElements.define('ha-customize-boolean', HaCustomizeBoolean);

View File

@ -23,8 +23,6 @@ class HaCustomizeIcon extends PolymerElement {
`; `;
} }
static get is() { return 'ha-customize-icon'; }
static get properties() { static get properties() {
return { return {
item: { item: {
@ -34,4 +32,4 @@ class HaCustomizeIcon extends PolymerElement {
}; };
} }
} }
customElements.define(HaCustomizeIcon.is, HaCustomizeIcon); customElements.define('ha-customize-icon', HaCustomizeIcon);

View File

@ -23,8 +23,6 @@ class HaCustomizeKeyValue extends PolymerElement {
`; `;
} }
static get is() { return 'ha-customize-key-value'; }
static get properties() { static get properties() {
return { return {
item: { item: {
@ -34,4 +32,4 @@ class HaCustomizeKeyValue extends PolymerElement {
}; };
} }
} }
customElements.define(HaCustomizeKeyValue.is, HaCustomizeKeyValue); customElements.define('ha-customize-key-value', HaCustomizeKeyValue);

View File

@ -10,8 +10,6 @@ class HaCustomizeString extends PolymerElement {
`; `;
} }
static get is() { return 'ha-customize-string'; }
static get properties() { static get properties() {
return { return {
item: { item: {
@ -25,4 +23,4 @@ class HaCustomizeString extends PolymerElement {
return item.description + (item.type === 'json' ? ' (JSON formatted)' : ''); return item.description + (item.type === 'json' ? ' (JSON formatted)' : '');
} }
} }
customElements.define(HaCustomizeString.is, HaCustomizeString); customElements.define('ha-customize-string', HaCustomizeString);

View File

@ -35,8 +35,6 @@ class HaConfigCloudMenu extends window.hassMixins.NavigateMixin(PolymerElement)
`; `;
} }
static get is() { return 'ha-config-cloud-menu'; }
static get properties() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -51,8 +51,6 @@ class HaConfigDashboard extends window.hassMixins.LocalizeMixin(PolymerElement)
`; `;
} }
static get is() { return 'ha-config-dashboard'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -68,4 +66,4 @@ class HaConfigDashboard extends window.hassMixins.LocalizeMixin(PolymerElement)
} }
} }
customElements.define(HaConfigDashboard.is, HaConfigDashboard); customElements.define('ha-config-dashboard', HaConfigDashboard);

View File

@ -30,8 +30,6 @@ class HaConfigEntriesMenu extends window.hassMixins.NavigateMixin(PolymerElement
`; `;
} }
static get is() { return 'ha-config-entries-menu'; }
static get properties() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -44,8 +44,6 @@ import '../../../src/util/hass-mixins.js';
`; `;
} }
static get is() { return 'ha-config-navigation'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -82,5 +80,5 @@ import '../../../src/util/hass-mixins.js';
} }
} }
customElements.define(HaConfigNavigation.is, HaConfigNavigation); customElements.define('ha-config-navigation', HaConfigNavigation);
} }

View File

@ -69,8 +69,6 @@ class HaConfigSection extends PolymerElement {
`; `;
} }
static get is() { return 'ha-config-section'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -106,4 +104,4 @@ class HaConfigSection extends PolymerElement {
} }
} }
customElements.define(HaConfigSection.is, HaConfigSection); customElements.define('ha-config-section', HaConfigSection);

View File

@ -74,8 +74,6 @@ class HaEntityConfig extends PolymerElement {
`; `;
} }
static get is() { return 'ha-entity-config'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -198,4 +196,4 @@ class HaEntityConfig extends PolymerElement {
} }
} }
customElements.define(HaEntityConfig.is, HaEntityConfig); customElements.define('ha-entity-config', HaEntityConfig);

View File

@ -102,8 +102,6 @@ class HaPanelConfig extends window.hassMixins.NavigateMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-panel-config'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -153,4 +151,4 @@ class HaPanelConfig extends window.hassMixins.NavigateMixin(PolymerElement) {
} }
} }
customElements.define(HaPanelConfig.is, HaPanelConfig); customElements.define('ha-panel-config', HaPanelConfig);

View File

@ -27,8 +27,6 @@ class HaConfigScript extends PolymerElement {
`; `;
} }
static get is() { return 'ha-config-script'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -100,4 +98,4 @@ class HaConfigScript extends PolymerElement {
} }
} }
customElements.define(HaConfigScript.is, HaConfigScript); customElements.define('ha-config-script', HaConfigScript);

View File

@ -110,8 +110,6 @@ class HaScriptEditor extends
`; `;
} }
static get is() { return 'ha-script-editor'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -281,4 +279,4 @@ class HaScriptEditor extends
} }
} }
customElements.define(HaScriptEditor.is, HaScriptEditor); customElements.define('ha-script-editor', HaScriptEditor);

View File

@ -84,8 +84,6 @@ class HaScriptPicker extends
`; `;
} }
static get is() { return 'ha-script-picker'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -134,4 +132,4 @@ class HaScriptPicker extends
} }
} }
customElements.define(HaScriptPicker.is, HaScriptPicker); customElements.define('ha-script-picker', HaScriptPicker);

View File

@ -209,8 +209,6 @@ class HaConfigZwave extends window.hassMixins.LocalizeMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-config-zwave'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -474,4 +472,4 @@ class HaConfigZwave extends window.hassMixins.LocalizeMixin(PolymerElement) {
} }
} }
customElements.define(HaConfigZwave.is, HaConfigZwave); customElements.define('ha-config-zwave', HaConfigZwave);

View File

@ -83,8 +83,6 @@ class ZwaveGroups extends PolymerElement {
`; `;
} }
static get is() { return 'zwave-groups'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -238,4 +236,4 @@ class ZwaveGroups extends PolymerElement {
} }
} }
customElements.define(ZwaveGroups.is, ZwaveGroups); customElements.define('zwave-groups', ZwaveGroups);

View File

@ -45,8 +45,6 @@ class OzwLog extends PolymerElement {
`; `;
} }
static get is() { return 'ozw-log'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -79,4 +77,4 @@ class OzwLog extends PolymerElement {
} }
} }
customElements.define(OzwLog.is, OzwLog); customElements.define('ozw-log', OzwLog);

View File

@ -92,8 +92,6 @@ class ZwaveNetwork extends PolymerElement {
`; `;
} }
static get is() { return 'zwave-network'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -117,4 +115,4 @@ class ZwaveNetwork extends PolymerElement {
} }
} }
customElements.define(ZwaveNetwork.is, ZwaveNetwork); customElements.define('zwave-network', ZwaveNetwork);

View File

@ -96,8 +96,6 @@ class ZwaveNodeConfig extends PolymerElement {
`; `;
} }
static get is() { return 'zwave-node-config'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -295,4 +293,4 @@ class ZwaveNodeConfig extends PolymerElement {
} }
} }
customElements.define(ZwaveNodeConfig.is, ZwaveNodeConfig); customElements.define('zwave-node-config', ZwaveNodeConfig);

View File

@ -44,8 +44,6 @@ class ZwaveNodeInformation extends PolymerElement {
`; `;
} }
static get is() { return 'zwave-node-information'; }
static get properties() { static get properties() {
return { return {
nodes: { nodes: {
@ -80,4 +78,4 @@ class ZwaveNodeInformation extends PolymerElement {
} }
} }
customElements.define(ZwaveNodeInformation.is, ZwaveNodeInformation); customElements.define('zwave-node-information', ZwaveNodeInformation);

View File

@ -58,8 +58,6 @@ class ZwaveUsercodes extends PolymerElement {
`; `;
} }
static get is() { return 'zwave-usercodes'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -194,4 +192,4 @@ class ZwaveUsercodes extends PolymerElement {
} }
} }
customElements.define(ZwaveUsercodes.is, ZwaveUsercodes); customElements.define('zwave-usercodes', ZwaveUsercodes);

View File

@ -58,8 +58,6 @@ class ZwaveValues extends PolymerElement {
`; `;
} }
static get is() { return 'zwave-values'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -146,4 +144,4 @@ class ZwaveValues extends PolymerElement {
} }
} }
customElements.define(ZwaveValues.is, ZwaveValues); customElements.define('zwave-values', ZwaveValues);

View File

@ -33,8 +33,6 @@ class EventsList extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'events-list'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -60,4 +58,4 @@ class EventsList extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(EventsList.is, EventsList); customElements.define('events-list', EventsList);

View File

@ -68,8 +68,6 @@ class HaPanelDevEvent extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-panel-dev-event'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -128,4 +126,4 @@ class HaPanelDevEvent extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HaPanelDevEvent.is, HaPanelDevEvent); customElements.define('ha-panel-dev-event', HaPanelDevEvent);

View File

@ -215,7 +215,6 @@ class HaPanelDevInfo extends PolymerElement {
</paper-dialog> </paper-dialog>
`; `;
} }
static get is() { return 'ha-panel-dev-info'; }
static get properties() { static get properties() {
return { return {
@ -330,4 +329,4 @@ class HaPanelDevInfo extends PolymerElement {
} }
} }
customElements.define(HaPanelDevInfo.is, HaPanelDevInfo); customElements.define('ha-panel-dev-info', HaPanelDevInfo);

View File

@ -78,8 +78,6 @@ class HaPanelDevMqtt extends PolymerElement {
`; `;
} }
static get is() { return 'ha-panel-dev-mqtt'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -98,4 +96,4 @@ class HaPanelDevMqtt extends PolymerElement {
} }
} }
customElements.define(HaPanelDevMqtt.is, HaPanelDevMqtt); customElements.define('ha-panel-dev-mqtt', HaPanelDevMqtt);

View File

@ -167,7 +167,6 @@ import '../../src/util/app-localstorage-document.js';
</app-header-layout> </app-header-layout>
`; `;
} }
static get is() { return 'ha-panel-dev-service'; }
static get properties() { static get properties() {
return { return {
@ -301,5 +300,5 @@ import '../../src/util/app-localstorage-document.js';
} }
} }
customElements.define(HaPanelDevService.is, HaPanelDevService); customElements.define('ha-panel-dev-service', HaPanelDevService);
} }

View File

@ -135,7 +135,6 @@ class HaPanelDevState extends window.hassMixins.EventsMixin(PolymerElement) {
</app-header-layout> </app-header-layout>
`; `;
} }
static get is() { return 'ha-panel-dev-state'; }
static get properties() { static get properties() {
return { return {
@ -316,4 +315,4 @@ class HaPanelDevState extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HaPanelDevState.is, HaPanelDevState); customElements.define('ha-panel-dev-state', HaPanelDevState);

View File

@ -98,7 +98,6 @@ class HaPanelDevTemplate extends PolymerElement {
</app-header-layout> </app-header-layout>
`; `;
} }
static get is() { return 'ha-panel-dev-template'; }
static get properties() { static get properties() {
return { return {
@ -196,4 +195,4 @@ For loop example:
} }
} }
customElements.define(HaPanelDevTemplate.is, HaPanelDevTemplate); customElements.define('ha-panel-dev-template', HaPanelDevTemplate);

View File

@ -21,7 +21,6 @@ class HaPanelHassio extends
></iframe> ></iframe>
`; `;
} }
static get is() { return 'ha-panel-hassio'; }
static get properties() { static get properties() {
return { return {
@ -77,4 +76,4 @@ class HaPanelHassio extends
} }
} }
customElements.define(HaPanelHassio.is, HaPanelHassio); customElements.define('ha-panel-hassio', HaPanelHassio);

View File

@ -94,7 +94,6 @@ class HaPanelHistory extends window.hassMixins.LocalizeMixin(PolymerElement) {
</app-header-layout> </app-header-layout>
`; `;
} }
static get is() { return 'ha-panel-history'; }
static get properties() { static get properties() {
return { return {
@ -186,4 +185,4 @@ class HaPanelHistory extends window.hassMixins.LocalizeMixin(PolymerElement) {
} }
} }
customElements.define(HaPanelHistory.is, HaPanelHistory); customElements.define('ha-panel-history', HaPanelHistory);

View File

@ -27,7 +27,6 @@ class HaPanelIframe extends PolymerElement {
></iframe> ></iframe>
`; `;
} }
static get is() { return 'ha-panel-iframe'; }
static get properties() { static get properties() {
return { return {
@ -46,4 +45,4 @@ class HaPanelIframe extends PolymerElement {
} }
} }
customElements.define(HaPanelIframe.is, HaPanelIframe); customElements.define('ha-panel-iframe', HaPanelIframe);

View File

@ -15,7 +15,6 @@ class HaPanelKiosk extends PolymerElement {
></partial-cards> ></partial-cards>
`; `;
} }
static get is() { return 'ha-panel-kiosk'; }
static get properties() { static get properties() {
return { return {
@ -25,4 +24,4 @@ class HaPanelKiosk extends PolymerElement {
} }
} }
customElements.define(HaPanelKiosk.is, HaPanelKiosk); customElements.define('ha-panel-kiosk', HaPanelKiosk);

View File

@ -4,8 +4,6 @@ import { PolymerElement } from '@polymer/polymer/polymer-element.js';
var DATE_CACHE = {}; var DATE_CACHE = {};
class HaLogbookData extends PolymerElement { class HaLogbookData extends PolymerElement {
static get is() { return 'ha-logbook-data'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -74,5 +72,5 @@ import { PolymerElement } from '@polymer/polymer/polymer-element.js';
} }
} }
customElements.define(HaLogbookData.is, HaLogbookData); customElements.define('ha-logbook-data', HaLogbookData);
} }

View File

@ -62,8 +62,6 @@ class HaLogbook extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-logbook'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -87,4 +85,4 @@ class HaLogbook extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HaLogbook.is, HaLogbook); customElements.define('ha-logbook', HaLogbook);

View File

@ -86,7 +86,6 @@ class HaPanelLogbook extends window.hassMixins.LocalizeMixin(PolymerElement) {
</app-header-layout> </app-header-layout>
`; `;
} }
static get is() { return 'ha-panel-logbook'; }
static get properties() { static get properties() {
return { return {
@ -149,4 +148,4 @@ class HaPanelLogbook extends window.hassMixins.LocalizeMixin(PolymerElement) {
} }
} }
customElements.define(HaPanelLogbook.is, HaPanelLogbook); customElements.define('ha-panel-logbook', HaPanelLogbook);

View File

@ -149,7 +149,6 @@ class HaPanelMailbox extends window.hassMixins.LocalizeMixin(PolymerElement) {
</paper-dialog> </paper-dialog>
`; `;
} }
static get is() { return 'ha-panel-mailbox'; }
static get properties() { static get properties() {
return { return {
@ -266,4 +265,4 @@ class HaPanelMailbox extends window.hassMixins.LocalizeMixin(PolymerElement) {
} }
} }
customElements.define(HaPanelMailbox.is, HaPanelMailbox); customElements.define('ha-panel-mailbox', HaPanelMailbox);

View File

@ -39,8 +39,6 @@ class HaEntityMarker extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-entity-marker'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -77,4 +75,4 @@ class HaEntityMarker extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HaEntityMarker.is, HaEntityMarker); customElements.define('ha-entity-marker', HaEntityMarker);

View File

@ -32,7 +32,6 @@ class HaPanelMap extends window.hassMixins.LocalizeMixin(PolymerElement) {
<div id='map'></div> <div id='map'></div>
`; `;
} }
static get is() { return 'ha-panel-map'; }
static get properties() { static get properties() {
return { return {
@ -194,4 +193,4 @@ class HaPanelMap extends window.hassMixins.LocalizeMixin(PolymerElement) {
} }
} }
customElements.define(HaPanelMap.is, HaPanelMap); customElements.define('ha-panel-map', HaPanelMap);

View File

@ -135,7 +135,6 @@ class HaPanelShoppingList extends window.hassMixins.LocalizeMixin(PolymerElement
</app-header-layout> </app-header-layout>
`; `;
} }
static get is() { return 'ha-panel-shopping-list'; }
static get properties() { static get properties() {
return { return {
@ -215,4 +214,4 @@ class HaPanelShoppingList extends window.hassMixins.LocalizeMixin(PolymerElement
} }
} }
customElements.define(HaPanelShoppingList.is, HaPanelShoppingList); customElements.define('ha-panel-shopping-list', HaPanelShoppingList);

View File

@ -31,7 +31,6 @@ class HaAuthFlow extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-auth-flow'; }
static get properties() { static get properties() {
return { return {
authProvider: Object, authProvider: Object,
@ -134,4 +133,4 @@ class HaAuthFlow extends window.hassMixins.EventsMixin(PolymerElement) {
}); });
} }
} }
customElements.define(HaAuthFlow.is, HaAuthFlow); customElements.define('ha-auth-flow', HaAuthFlow);

View File

@ -29,7 +29,6 @@ class HaAuthorize extends PolymerElement {
`; `;
} }
static get is() { return 'ha-authorize'; }
static get properties() { static get properties() {
return { return {
_authProvider: { _authProvider: {
@ -66,4 +65,4 @@ class HaAuthorize extends PolymerElement {
this._authProvider = null; this._authProvider = null;
} }
} }
customElements.define(HaAuthorize.is, HaAuthorize); customElements.define('ha-authorize', HaAuthorize);

View File

@ -37,7 +37,6 @@ class HaPickAuthProvider extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-pick-auth-provider'; }
static get properties() { static get properties() {
return { return {
_state: { _state: {
@ -82,4 +81,4 @@ class HaPickAuthProvider extends window.hassMixins.EventsMixin(PolymerElement) {
return a === b; return a === b;
} }
} }
customElements.define(HaPickAuthProvider.is, HaPickAuthProvider); customElements.define('ha-pick-auth-provider', HaPickAuthProvider);

View File

@ -18,7 +18,6 @@ class HaBadgesCard extends PolymerElement {
`; `;
} }
static get is() { return 'ha-badges-card'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -26,4 +25,4 @@ class HaBadgesCard extends PolymerElement {
}; };
} }
} }
customElements.define(HaBadgesCard.is, HaBadgesCard); customElements.define('ha-badges-card', HaBadgesCard);

View File

@ -59,7 +59,6 @@ import '../util/hass-mixins.js';
`; `;
} }
static get is() { return 'ha-camera-card'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -114,5 +113,5 @@ import '../util/hass-mixins.js';
return window.hassUtil.computeStateName(stateObj); return window.hassUtil.computeStateName(stateObj);
} }
} }
customElements.define(HaCameraCard.is, HaCameraCard); customElements.define('ha-camera-card', HaCameraCard);
} }

View File

@ -9,7 +9,6 @@ import './ha-plant-card.js';
import './ha-weather-card.js'; import './ha-weather-card.js';
class HaCardChooser extends PolymerElement { class HaCardChooser extends PolymerElement {
static get is() { return 'ha-card-chooser'; }
static get properties() { static get properties() {
return { return {
cardData: { cardData: {
@ -76,4 +75,4 @@ class HaCardChooser extends PolymerElement {
} }
} }
} }
customElements.define(HaCardChooser.is, HaCardChooser); customElements.define('ha-card-chooser', HaCardChooser);

View File

@ -58,7 +58,6 @@ class HaEntitiesCard extends
`; `;
} }
static get is() { return 'ha-entities-card'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -148,4 +147,4 @@ class HaEntitiesCard extends
return canToggleCount > 1; return canToggleCount > 1;
} }
} }
customElements.define(HaEntitiesCard.is, HaEntitiesCard); customElements.define('ha-entities-card', HaEntitiesCard);

View File

@ -44,7 +44,6 @@ class HaHistoryGraphCard extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-history_graph-card'; }
static get properties() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -181,7 +181,6 @@ class HaMediaPlayerCard extends
`; `;
} }
static get is() { return 'ha-media_player-card'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -307,4 +306,4 @@ class HaMediaPlayerCard extends
this.playerObj.togglePower(); this.playerObj.togglePower();
} }
} }
customElements.define(HaMediaPlayerCard.is, HaMediaPlayerCard); customElements.define('ha-media_player-card', HaMediaPlayerCard);

View File

@ -48,7 +48,6 @@ class HaPersistentNotificationCard extends window.hassMixins.LocalizeMixin(Polym
`; `;
} }
static get is() { return 'ha-persistent_notification-card'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -66,4 +65,4 @@ class HaPersistentNotificationCard extends window.hassMixins.LocalizeMixin(Polym
this.hass.callApi('DELETE', 'states/' + this.stateObj.entity_id); this.hass.callApi('DELETE', 'states/' + this.stateObj.entity_id);
} }
} }
customElements.define(HaPersistentNotificationCard.is, HaPersistentNotificationCard); customElements.define('ha-persistent_notification-card', HaPersistentNotificationCard);

View File

@ -49,7 +49,6 @@ class HaPlantCard extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-plant-card'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -105,4 +104,4 @@ class HaPlantCard extends window.hassMixins.EventsMixin(PolymerElement) {
} }
} }
customElements.define(HaPlantCard.is, HaPlantCard); customElements.define('ha-plant-card', HaPlantCard);

View File

@ -144,7 +144,6 @@ class HaWeatherCard extends
`; `;
} }
static get is() { return 'ha-weather-card'; }
static get properties() { static get properties() {
return { return {
hass: Object, hass: Object,
@ -237,4 +236,4 @@ class HaWeatherCard extends
return date.toLocaleDateString(this.hass.selectedLanguage || this.hass.language, { weekday: 'short' }); return date.toLocaleDateString(this.hass.selectedLanguage || this.hass.language, { weekday: 'short' });
} }
} }
customElements.define(HaWeatherCard.is, HaWeatherCard); customElements.define('ha-weather-card', HaWeatherCard);

View File

@ -11,8 +11,6 @@ class HaCallApiButton extends window.hassMixins.EventsMixin(PolymerElement) {
`; `;
} }
static get is() { return 'ha-call-api-button'; }
static get properties() { static get properties() {
return { return {
hass: Object, 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);

View File

@ -11,8 +11,6 @@ class HaCallServiceButton extends window.hassMixins.EventsMixin(PolymerElement)
`; `;
} }
static get is() { return 'ha-call-service-button'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -63,4 +61,4 @@ class HaCallServiceButton extends window.hassMixins.EventsMixin(PolymerElement)
} }
} }
customElements.define(HaCallServiceButton.is, HaCallServiceButton); customElements.define('ha-call-service-button', HaCallServiceButton);

View File

@ -55,8 +55,6 @@ class HaProgressButton extends PolymerElement {
`; `;
} }
static get is() { return 'ha-progress-button'; }
static get properties() { static get properties() {
return { return {
hass: { hass: {
@ -105,4 +103,4 @@ class HaProgressButton extends PolymerElement {
} }
} }
customElements.define(HaProgressButton.is, HaProgressButton); customElements.define('ha-progress-button', HaProgressButton);

View File

@ -11,8 +11,6 @@ class DomainIcon extends PolymerElement {
`; `;
} }
static get is() { return 'domain-icon'; }
static get properties() { static get properties() {
return { return {
domain: { domain: {
@ -32,4 +30,4 @@ class DomainIcon extends PolymerElement {
} }
} }
customElements.define(DomainIcon.is, DomainIcon); customElements.define('domain-icon', DomainIcon);

View File

@ -134,7 +134,7 @@ class HaChartBase extends mixinBehaviors([
get chart() { get chart() {
return this._chart; return this._chart;
} }
static get is() { return 'ha-chart-base'; }
static get properties() { static get properties() {
return { return {
data: Object, data: Object,
@ -537,4 +537,4 @@ class HaChartBase extends mixinBehaviors([
return getColor; 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