Skip to content

Commit

Permalink
differentiate between Core200S and Vital200S device types
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiayang committed Dec 16, 2024
1 parent a4941d9 commit dc2db03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/deviceTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dc2db03

Please sign in to comment.