@mega-yfue/eufy-sdk 0.6.0-beta.4 → 0.6.0-beta.5

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
@@ -3681,7 +3681,7 @@ var isIndoorPanTiltS350 = (ctx) => has(INDOOR_PT_S350_TYPES, ctx.deviceType);
3681
3681
  var isHomeBase = (ctx) => has(HOMEBASE_TYPES, ctx.deviceType);
3682
3682
  var isStation9000 = (ctx) => ctx.deviceType === DeviceType.STATION_9000;
3683
3683
  var isNvrT8N00 = (ctx) => ctx.model === "T8N00";
3684
- var isNvrMediaCamera = (ctx) => ctx.model === "T8E00" || ctx.model === "T8P00";
3684
+ var isNvrMediaCamera = (ctx) => ctx.model === "T8E00" || ctx.model === "T8P00" || ctx.model === "T8P10";
3685
3685
  var isNvrDualLensCamera = (ctx) => ctx.model === "T8E00";
3686
3686
  var isCallDoorbell = (ctx) => ctx.model === "T8223" || ctx.model === "T8224";
3687
3687
  var isAiotVacuum = (ctx) => ctx.category !== "eufy_home_tuya";
@@ -4711,7 +4711,7 @@ function decodePowerSource(raw) {
4711
4711
  function recordSetting(param, value, ctx) {
4712
4712
  return setStationScalar(param, value, ctx.channel);
4713
4713
  }
4714
- var MAINS_CAMERA_MODELS = ["T8425", "T8419", "T8410", "T84A1", "T8423", "T8E00", "T8P00"];
4714
+ var MAINS_CAMERA_MODELS = ["T8425", "T8419", "T8410", "T84A1", "T8423", "T8E00", "T8P00", "T8P10"];
4715
4715
  function cameraPowerTier(model, capabilities) {
4716
4716
  return capabilities.has("battery") && notMainsCamera({ model }) ? "battery" : "wired";
4717
4717
  }