@ledvance/base 1.1.50 → 1.1.51
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.d.ts +1 -1
- package/src/api/native.ts +2 -2
package/package.json
CHANGED
package/src/api/native.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare class NativeApi {
|
|
|
51
51
|
static setDps<T>(deviceId: string, dps: any): Promise<NativeResult<T>>;
|
|
52
52
|
static deleteDevice(deviceId: string, isReset: boolean): Promise<NativeResult<any>>;
|
|
53
53
|
static renameDevice(deviceId: string, name: string): Promise<NativeResult<any>>;
|
|
54
|
-
static toDeviceSettingsPage(deviceId: string): void;
|
|
54
|
+
static toDeviceSettingsPage(deviceId: string, isGroup?: boolean): void;
|
|
55
55
|
static putJson(deviceId: string, featureType: string, json: string): Promise<Result<any>>;
|
|
56
56
|
static getJson(deviceId: string, featureType: string): Promise<Result<any>>;
|
|
57
57
|
static groupControl(tyGroupId: number, dps: string, config: string): Promise<Result<any>>;
|
package/src/api/native.ts
CHANGED
|
@@ -257,8 +257,8 @@ export class NativeApi {
|
|
|
257
257
|
return rename(deviceId, name)
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
static toDeviceSettingsPage(deviceId: string): void {
|
|
261
|
-
toDeviceSettingsPage(deviceId)
|
|
260
|
+
static toDeviceSettingsPage(deviceId: string, isGroup: boolean = false): void {
|
|
261
|
+
toDeviceSettingsPage(deviceId, isGroup)
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
static putJson(deviceId: string, featureType: string, json: string): Promise<Result<any>> {
|