@ledvance/base 1.1.61 → 1.1.63

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 CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.61",
7
+ "version": "1.1.63",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@reduxjs/toolkit": "^1.8.6",
package/src/api/native.ts CHANGED
@@ -263,7 +263,7 @@ export class NativeApi {
263
263
  }
264
264
 
265
265
  static toDeviceSettingsPage(deviceId: string, isGroup: boolean = false): void {
266
- toDeviceSettingsPage(deviceId, isGroup)
266
+ toDeviceSettingsPage(deviceId)
267
267
  }
268
268
 
269
269
  static toRoutinesPage(params: {backTitle:string}): void{
@@ -256,6 +256,11 @@ export const useFanMaxSpeed = () => {
256
256
  return fanProductList.includes(productId) ? 20 : 3
257
257
  }
258
258
 
259
+ export const isUVCFanDevice = () =>{
260
+ const {productId} = useDeviceInfo()
261
+ return fanProductList.includes(productId)
262
+ }
263
+
259
264
  export const ldvModules = nativePropsSlice.reducer
260
265
 
261
266
  export const {