From 80aa973181b17c26f96aa4d01d317746e8d630f0 Mon Sep 17 00:00:00 2001 From: Martijn Poppen Date: Mon, 14 Oct 2024 12:38:58 +0200 Subject: [PATCH] FIX: enableEmbeddedPKCS1Support --- src/eufysecurity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eufysecurity.ts b/src/eufysecurity.ts index 86649c7..7f9491b 100644 --- a/src/eufysecurity.ts +++ b/src/eufysecurity.ts @@ -495,7 +495,7 @@ export class EufySecurity extends TypedEmitter { if (this.config.stationIPAddresses !== undefined) { ipAddress = this.config.stationIPAddresses[hub.station_sn]; } - const station = Station.getInstance(this.api, hub, ipAddress); + const station = Station.getInstance(this.api, hub, ipAddress, 0, this.config.enableEmbeddedPKCS1Support); promises.push(station.then((station: Station) => { try { station.on("connect", (station: Station) => this.onStationConnect(station));