power_clamp

This commit is contained in:
mohammad
2024-10-20 16:57:13 +03:00
parent aa27ecf908
commit b7b326969a
9 changed files with 658 additions and 285 deletions

View File

@ -80,6 +80,18 @@ class DevicesAPI {
return response;
}
static Future<Map<String, dynamic>> getPowerClampStatus(
String deviceId) async {
final response = await _httpService.get(
path: ApiEndpoints.powerClamp.replaceAll('{powerClampUuid}', deviceId),
showServerMessage: false,
expectedResponseModel: (json) {
return json;
},
);
return response;
}
static Future<Map<String, dynamic>> renamePass(
{required String name,
required String doorLockUuid,