Fix ALL the eslint warnings (#23165)

* Fix many lint warnings

* Fix ALL lint warnings

* small fix

* type fixes
This commit is contained in:
Petar Petrov
2024-12-06 10:55:07 +02:00
committed by GitHub
parent f724d8e7a9
commit 7a12fd2853
308 changed files with 918 additions and 823 deletions

View File

@@ -23,16 +23,16 @@ export class HuiGenericEntityRow extends LitElement {
@property({ attribute: false }) public config?: EntitiesCardEntityConfig;
@property() public secondaryText?: string;
@property({ attribute: false }) public secondaryText?: string;
@property({ type: Boolean }) public hideName = false;
@property({ attribute: false, type: Boolean }) public hideName = false;
// Allows to control if this row should capture the user interaction, e.g. with its
// toggle switch, button or input field. Some domains dynamically decide what to show
// => static determination will not work => the caller has to pass the desired value in.
// Same applies for custom components that want to override the default behavior.
// Default behavior is controlled by DOMAINS_INPUT_ROW.
@property({ type: Boolean }) public catchInteraction?;
@property({ attribute: false, type: Boolean }) public catchInteraction?;
protected render() {
if (!this.hass || !this.config) {