mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 06:14:55 +00:00
setting
This commit is contained in:
@ -33,6 +33,7 @@ class DevicesAPI {
|
||||
static Future<Map<String, dynamic>> controlDevice(
|
||||
DeviceControlModel controlModel, String deviceId) async {
|
||||
try {
|
||||
print(controlModel.toJson());
|
||||
final response = await _httpService.post(
|
||||
path: ApiEndpoints.controlDevice.replaceAll('{deviceUuid}', deviceId),
|
||||
body: controlModel.toJson(),
|
||||
|
||||
Reference in New Issue
Block a user