mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
Add CPS case to device function switch for ceiling sensor integration
This commit is contained in:
@ -10,6 +10,7 @@ import 'package:syncrow_web/pages/routines/models/gang_switches/three_gang_switc
|
||||
import 'package:syncrow_web/pages/routines/models/gang_switches/two_gang_switch/two_gang_switch.dart';
|
||||
import 'package:syncrow_web/pages/routines/models/gateway.dart';
|
||||
import 'package:syncrow_web/pages/routines/models/wps/wps_functions.dart';
|
||||
import 'package:syncrow_web/pages/routines/widgets/routine_dialogs/ceiling_sensor/ceiling_sensor_helper.dart';
|
||||
import 'package:syncrow_web/utils/constants/assets.dart';
|
||||
import 'package:syncrow_web/utils/enum/device_types.dart';
|
||||
|
||||
@ -337,6 +338,11 @@ SOS
|
||||
type: 'BOTH',
|
||||
),
|
||||
];
|
||||
case 'CPS':
|
||||
return CeilingSensorHelper.getCeilingSensorFunctions(
|
||||
uuid: uuid ?? '',
|
||||
name: name ?? '',
|
||||
);
|
||||
default:
|
||||
return [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user