From 4597af4741acffd9cd042b042feefb7288f6aa29 Mon Sep 17 00:00:00 2001 From: Ryan Adolf Date: Sat, 17 Dec 2022 18:22:32 -0800 Subject: [PATCH] Ignore ws type --- test/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/util.ts b/test/util.ts index 265c9b2..0fb85f5 100644 --- a/test/util.ts +++ b/test/util.ts @@ -7,7 +7,7 @@ import { toMatchSnapshot } from "jest-snapshot"; /** Retrieves entity state from Home Assistant */ export async function getEntity(hass: HomeAssistant, entity_id: string) { - const coll = entitiesColl(hass.ws); + const coll = entitiesColl(hass.ws as any); await coll.refresh(); const state = coll.state[entity_id]; if (!state) throw new Error(`Entity ${entity_id} not found`);