@mega-yfue/eufy-sdk 0.5.0-beta.68 → 0.5.0-beta.69
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 +9 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5938,7 +5938,15 @@ function isStationAlarmOutput(ctx) {
|
|
|
5938
5938
|
function isEvidencedStationAlarm(ctx) {
|
|
5939
5939
|
return isStationAlarmOutput(ctx) && HUB_ALARM_EVIDENCE.some((param) => ctx.paramIds.has(param));
|
|
5940
5940
|
}
|
|
5941
|
-
var S1_PRO_ALARM_MODELS = /* @__PURE__ */ new Set([
|
|
5941
|
+
var S1_PRO_ALARM_MODELS = /* @__PURE__ */ new Set([
|
|
5942
|
+
"T8134",
|
|
5943
|
+
"T814X",
|
|
5944
|
+
"T8214",
|
|
5945
|
+
"T8790",
|
|
5946
|
+
"T8122",
|
|
5947
|
+
"T8113-Z",
|
|
5948
|
+
"T8400"
|
|
5949
|
+
]);
|
|
5942
5950
|
function isEvidencedAttachedCamera(ctx) {
|
|
5943
5951
|
return ctx.codec === "camera" && ctx.homeBaseAttached === true && hasReportedEasSwitch(ctx) && (!isStation9000({ deviceType: ctx.stationDeviceType }) || S1_PRO_ALARM_MODELS.has(ctx.model ?? ""));
|
|
5944
5952
|
}
|