From bb483c9d72e92857cbd404c07ca2a903c59869df Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Sat, 27 Oct 2018 21:00:06 -0500 Subject: [PATCH] Make hass optional within EntityRow as it may not be defined --- src/panels/lovelace/entity-rows/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/entity-rows/types.ts b/src/panels/lovelace/entity-rows/types.ts index 6d145f2698..f343d9c4e5 100644 --- a/src/panels/lovelace/entity-rows/types.ts +++ b/src/panels/lovelace/entity-rows/types.ts @@ -23,6 +23,6 @@ export type EntityRowConfig = | WeblinkConfig; export interface EntityRow { - hass: HomeAssistant; + hass?: HomeAssistant; setConfig(config: EntityRowConfig); }