mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-26 03:17:54 +00:00
Add water heater type for the schedule
This commit is contained in:
@@ -150,7 +150,8 @@ export class ScheduleService {
|
||||
if (
|
||||
deviceDetails.productDevice.prodType !== ProductType.THREE_G &&
|
||||
deviceDetails.productDevice.prodType !== ProductType.ONE_G &&
|
||||
deviceDetails.productDevice.prodType !== ProductType.TWO_G
|
||||
deviceDetails.productDevice.prodType !== ProductType.TWO_G &&
|
||||
deviceDetails.productDevice.prodType !== ProductType.WH
|
||||
) {
|
||||
throw new HttpException(
|
||||
'This device is not supported for schedule',
|
||||
|
||||
Reference in New Issue
Block a user