diff --git a/src/cards/chips-card/chips/conditional-chip-editor-legacy.ts b/src/cards/chips-card/chips/conditional-chip-editor-legacy.ts index bce8dd058..7a7ab0dbe 100644 --- a/src/cards/chips-card/chips/conditional-chip-editor-legacy.ts +++ b/src/cards/chips-card/chips/conditional-chip-editor-legacy.ts @@ -102,14 +102,13 @@ export class ConditionalChipEditor extends LitElement implements LovelaceChipEdi naturalMenuWidth > ${CHIP_LIST.map( - (chip) => - html` - - ${customLocalize( - `editor.chip.chip-picker.types.${chip}` - )} - - ` + (chip) => html` + + ${customLocalize( + `editor.chip.chip-picker.types.${chip}` + )} + + ` )} `} diff --git a/src/cards/chips-card/chips/conditional-chip-editor.ts b/src/cards/chips-card/chips/conditional-chip-editor.ts index d9016546c..9cc5cfaaa 100644 --- a/src/cards/chips-card/chips/conditional-chip-editor.ts +++ b/src/cards/chips-card/chips/conditional-chip-editor.ts @@ -106,14 +106,13 @@ export class ConditionalChipEditor extends LitElement implements LovelaceChipEdi naturalMenuWidth > ${CHIP_LIST.map( - (chip) => - html` - - ${customLocalize( - `editor.chip.chip-picker.types.${chip}` - )} - - ` + (chip) => html` + + ${customLocalize( + `editor.chip.chip-picker.types.${chip}` + )} + + ` )} `} diff --git a/src/cards/chips-card/chips/conditional-chip.ts b/src/cards/chips-card/chips/conditional-chip.ts index 847564328..6ad9f9a6e 100644 --- a/src/cards/chips-card/chips/conditional-chip.ts +++ b/src/cards/chips-card/chips/conditional-chip.ts @@ -28,7 +28,7 @@ export const setupConditionChipComponent = async () => { }); } const HuiConditionalBase = await loadCustomElement("hui-conditional-base"); - + // @ts-ignore class ConditionalChip extends HuiConditionalBase implements LovelaceChip { public static async getConfigElement(): Promise { diff --git a/src/cards/climate-card/climate-card.ts b/src/cards/climate-card/climate-card.ts index 11777cc1f..8b9ef7498 100644 --- a/src/cards/climate-card/climate-card.ts +++ b/src/cards/climate-card/climate-card.ts @@ -51,7 +51,10 @@ registerCustomCard({ }); @customElement(CLIMATE_CARD_NAME) -export class ClimateCard extends MushroomBaseCard implements LovelaceCard { +export class ClimateCard + extends MushroomBaseCard + implements LovelaceCard +{ public static async getConfigElement(): Promise { await import("./climate-card-editor"); return document.createElement(CLIMATE_CARD_EDITOR_NAME) as LovelaceCardEditor; @@ -70,7 +73,7 @@ export class ClimateCard extends MushroomBaseCard `; diff --git a/src/cards/lock-card/controls/lock-buttons-control.ts b/src/cards/lock-card/controls/lock-buttons-control.ts index d21bab6c6..708a9f0d7 100644 --- a/src/cards/lock-card/controls/lock-buttons-control.ts +++ b/src/cards/lock-card/controls/lock-buttons-control.ts @@ -54,7 +54,7 @@ export class LockButtonsControl extends LitElement { @property({ attribute: false }) public entity!: LockEntity; - @property({ type: Boolean }) public fill: boolean = false; + @property({ type: Boolean }) public fill: boolean = false; private callService(e: CustomEvent) { e.stopPropagation(); diff --git a/src/cards/media-player-card/controls/media-player-media-control.ts b/src/cards/media-player-card/controls/media-player-media-control.ts index 5466c7433..8e8b3a5f9 100644 --- a/src/cards/media-player-card/controls/media-player-media-control.ts +++ b/src/cards/media-player-card/controls/media-player-media-control.ts @@ -17,7 +17,7 @@ export class MediaPlayerMediaControls extends LitElement { @property({ attribute: false }) public controls!: MediaPlayerMediaControl[]; - @property({ type: Boolean }) public fill: boolean = false; + @property({ type: Boolean }) public fill: boolean = false; private _handleClick(e: MouseEvent): void { e.stopPropagation(); diff --git a/src/cards/media-player-card/controls/media-player-volume-control.ts b/src/cards/media-player-card/controls/media-player-volume-control.ts index 9a047baaa..5c9f4ca24 100644 --- a/src/cards/media-player-card/controls/media-player-volume-control.ts +++ b/src/cards/media-player-card/controls/media-player-volume-control.ts @@ -31,7 +31,7 @@ export class MediaPlayerVolumeControls extends LitElement { @property({ attribute: false }) public entity!: MediaPlayerEntity; - @property({ type: Boolean }) public fill: boolean = false; + @property({ type: Boolean }) public fill: boolean = false; @property({ attribute: false }) public controls!: MediaPlayerVolumeControl[]; diff --git a/src/cards/media-player-card/media-player-card.ts b/src/cards/media-player-card/media-player-card.ts index 070e638d9..6e92db76f 100644 --- a/src/cards/media-player-card/media-player-card.ts +++ b/src/cards/media-player-card/media-player-card.ts @@ -151,7 +151,7 @@ export class MediaPlayerCard if (!this._config || !this.hass || !this._config.entity) { return nothing; } - + const stateObj = this._stateObj; if (!stateObj) { diff --git a/src/cards/number-card/number-card.ts b/src/cards/number-card/number-card.ts index e7f005e22..588887f65 100644 --- a/src/cards/number-card/number-card.ts +++ b/src/cards/number-card/number-card.ts @@ -82,7 +82,7 @@ export class NumberCard extends MushroomBaseCard implements Lo updateValue() { this.value = undefined; - const stateObj =this._stateObj; + const stateObj = this._stateObj; if (!stateObj || Number.isNaN(stateObj.state)) return; this.value = Number(stateObj.state); diff --git a/src/cards/vacuum-card/vacuum-card.ts b/src/cards/vacuum-card/vacuum-card.ts index 1869c83d3..0cc47b07a 100644 --- a/src/cards/vacuum-card/vacuum-card.ts +++ b/src/cards/vacuum-card/vacuum-card.ts @@ -72,7 +72,7 @@ export class VacuumCard if (!this._config || !this.hass) { return nothing; } - + const stateObj = this._stateObj; if (!stateObj) { diff --git a/src/shared/editor/layout-picker.ts b/src/shared/editor/layout-picker.ts index 6d5a24f81..803daa8bd 100644 --- a/src/shared/editor/layout-picker.ts +++ b/src/shared/editor/layout-picker.ts @@ -54,13 +54,12 @@ export class LayoutPicker extends LitElement { > ${LAYOUTS.map( - (layout) => - html` - - ${customLocalize(`editor.form.layout_picker.values.${layout}`)} - - - ` + (layout) => html` + + ${customLocalize(`editor.form.layout_picker.values.${layout}`)} + + + ` )} `;