mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-08-26 04:19:40 +00:00
add water heater device to routine and fix device type in routine
This commit is contained in:
@ -257,6 +257,7 @@ class DeviceFunctionsView extends StatelessWidget
|
||||
deviceName: device.name ?? '',
|
||||
uniqueId: function.uniqueCustomId!,
|
||||
operationType: function.operationDialogType,
|
||||
deviceType: '',
|
||||
));
|
||||
Navigator.pop(context);
|
||||
},
|
||||
@ -297,6 +298,7 @@ class DeviceFunctionsView extends StatelessWidget
|
||||
return;
|
||||
}
|
||||
context.read<CreateSceneBloc>().add(TempHoldSceneTasksEvent(
|
||||
deviceType: device.productType!.name,
|
||||
deviceControlModel: DeviceControlModel(
|
||||
deviceId: device.uuid,
|
||||
code: function.code,
|
||||
|
Reference in New Issue
Block a user