mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 08:54:54 +00:00
Refactor API endpoint for getting device reports and fix the record title
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user