@ledvance/base 1.1.69 → 1.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/native.ts +3 -3
package/package.json
CHANGED
package/src/api/native.ts
CHANGED
|
@@ -8,7 +8,7 @@ interface LDVDevicePanelManager {
|
|
|
8
8
|
getAllTaskTimer: (deviceId: string, type: number, callback: (res: NativeResult<string>) => void) => void
|
|
9
9
|
deleteDevice: (deviceId: string, isReset: boolean, callback: (result: any) => void) => void
|
|
10
10
|
rename: (deviceId: string, name: string, callback: (result: any) => void) => void
|
|
11
|
-
toDeviceSettingsPage: (deviceId: string) => void
|
|
11
|
+
toDeviceSettingsPage: (deviceId: string, isGroup: boolean) => void
|
|
12
12
|
toRoutinesPage: (params: {backTitle:string}) => void
|
|
13
13
|
putJson: (deviceId: string, featureType: string, json: string, callback: (res: NativeResult<any>) => void) => void
|
|
14
14
|
getJson: (deviceId: string, featureType: string, callback: (res: NativeResult<string>) => void) => void
|
|
@@ -194,7 +194,7 @@ const rename: RenameResultType = (deviceId: string, name: string) => {
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
function toDeviceSettingsPage(tuyaDeviceId: string, isGroup: boolean = false) {
|
|
197
|
-
devicePanel.toDeviceSettingsPage(tuyaDeviceId)
|
|
197
|
+
devicePanel.toDeviceSettingsPage(tuyaDeviceId, isGroup)
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
function toRoutinesPage(params: {backTitle:string}) {
|
|
@@ -263,7 +263,7 @@ export class NativeApi {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
static toDeviceSettingsPage(deviceId: string, isGroup: boolean = false): void {
|
|
266
|
-
toDeviceSettingsPage(deviceId)
|
|
266
|
+
toDeviceSettingsPage(deviceId, isGroup)
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
static toRoutinesPage(params: {backTitle:string}): void{
|