From dc2db03e8e58b0fa94fb84cad0ac8b30be14de56 Mon Sep 17 00:00:00 2001 From: Kaia Yang Date: Sun, 15 Dec 2024 20:04:09 -0800 Subject: [PATCH] differentiate between Core200S and Vital200S device types --- src/api/deviceTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/deviceTypes.ts b/src/api/deviceTypes.ts index 4007437..132c962 100644 --- a/src/api/deviceTypes.ts +++ b/src/api/deviceTypes.ts @@ -59,7 +59,7 @@ const deviceTypes: DeviceType[] = [ }, { isValid: (input: string) => - input.includes(DeviceName.Core201S) || + (input.includes(DeviceName.Core201S) && !input.includes(DeviceName.Vital200S)) || input.includes(DeviceName.Core200S), hasAirQuality: false, hasAutoMode: false,