From d56d849e802a2fc6b476a712ab01a7156821cff1 Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 10 Apr 2023 10:54:36 +0200 Subject: [PATCH] Update types.ts Added DeviceClass Energy_Storage and Volume_Storage to syntax check --- src/language-service/src/schemas/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/language-service/src/schemas/types.ts b/src/language-service/src/schemas/types.ts index 5d22683b25..f14433c9d1 100644 --- a/src/language-service/src/schemas/types.ts +++ b/src/language-service/src/schemas/types.ts @@ -97,6 +97,7 @@ export type DeviceClassesSensor = | "distance" | "duration" | "energy" + | "energy_storage" | "enum" | "frequency" | "gas" @@ -126,6 +127,7 @@ export type DeviceClassesSensor = | "volatile_organic_compounds" | "voltage" | "volume" + | "volume_storage" | "water" | "weight" | "wind_speed";