Refactor API endpoint for getting device reports and fix the record title

This commit is contained in:
mohammad
2025-05-12 10:18:02 +03:00
parent adb42f95e8
commit 0a4ec1c6de
6 changed files with 24 additions and 7 deletions

View File

@ -11,7 +11,7 @@ class WaterHeaterFunctionsHelper {
deviceId: deviceId,
deviceName: deviceName,
icon: Assets.assetsAcPower,
operationName: 'Reverse Switch',
operationName: 'Switch',
code: 'switch_1',
functionValue: functionValue,
operationDialogType: OperationDialogType.onOff,
@ -32,7 +32,7 @@ class WaterHeaterFunctionsHelper {
deviceId: deviceId,
deviceName: deviceName,
icon: Assets.assetsLightCountdown,
operationName: 'CountDown',
operationName: 'Timer',
code: 'countdown_1',
functionValue: functionValue,
operationDialogType: OperationDialogType.countdown,