@mega-yfue/eufy-sdk 0.4.0-beta.33 → 0.4.0-beta.34

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/dist/index.js CHANGED
@@ -5417,6 +5417,8 @@ function isEnableBitPolarity(ctx) {
5417
5417
  const t = ctx.deviceType;
5418
5418
  if (t === void 0)
5419
5419
  return false;
5420
+ if (t === DeviceType.INDOOR_CAMERA && ctx.paramIds.has(CAMERA_CMD.CAMERA_ENABLE))
5421
+ return false;
5420
5422
  if (isIndoorCamera(ctx) && !isIndoorCamMini(ctx) && !isIndoorPanTiltS350(ctx))
5421
5423
  return true;
5422
5424
  return ENABLE_BIT_FLOODLIGHT_TYPES.has(t);