From 3e72b1cb5dbc0310ae382b2655e0858528b99df7 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Tue, 21 Feb 2023 12:11:44 +0100 Subject: [PATCH] Fix tile card typings (#15529) --- .../editor/config-elements/hui-tile-card-features-editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/editor/config-elements/hui-tile-card-features-editor.ts b/src/panels/lovelace/editor/config-elements/hui-tile-card-features-editor.ts index 372901d0f6..798c634936 100644 --- a/src/panels/lovelace/editor/config-elements/hui-tile-card-features-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-tile-card-features-editor.ts @@ -147,7 +147,7 @@ export class HuiTileCardFeaturesEditor extends LitElement { .filter((type) => this._supportsFeatureType(type)); } - protected render(): TemplateResult { + protected render(): TemplateResult | null { if (!this.features || !this.hass) { return null; }