From 1587dd59ae7ed985a68ee12c1ae0dbd4ac395cb9 Mon Sep 17 00:00:00 2001 From: Ola Thoresen Date: Sat, 21 Sep 2024 22:02:09 +0200 Subject: [PATCH] Typecheck --- package.json | 2 +- src/flower-card.ts | 2 +- src/utils/utils.ts | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b43b68c..0b3c903 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flower-card", - "version": "2024.9.0-beta2", + "version": "2024.9.0-beta1", "description": "Custom flower card for https://github.com/Olen/homeassistant-plant", "keywords": [ "home-assistant", diff --git a/src/flower-card.ts b/src/flower-card.ts index c87faea..e53d7b5 100644 --- a/src/flower-card.ts +++ b/src/flower-card.ts @@ -21,7 +21,7 @@ console.info( preview: true, description: 'Custom flower card for https://github.com/Olen/homeassistant-plant', }); -/* eslint-enable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-explicit-any */ @customElement(CARD_NAME) export default class FlowerCard extends LitElement { diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 4190a6d..69199c0 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -6,6 +6,8 @@ export const getConfigElement = (): HTMLElement => { return document.createElement("flower-card-editor"); } +/* eslint-disable @typescript-eslint/no-explicit-any */ + export const getStubConfig = (hass: HomeAssistant) => { let supportedEntities: Array = []; try {