A new error message appears in the log after the latest update; before this update to v3.5.1 the error was not present.
Though it seems the curtain devices are working properly.
To Reproduce
latest v3.5.1 with no config changes for SwitchBot Curtain devices (were without error messages before update)
Expected Behavior
no red error messages
Relevant Log Output
[6/28/2024, 5:48:27 PM] [homebridge-switchbot] Curtain: Schlafzimmer Vorhang failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot use 'in' operator to search for 'power' in undefined"
Describe the Bug
A new error message appears in the log after the latest update; before this update to v3.5.1 the error was not present. Though it seems the curtain devices are working properly.
To Reproduce
latest v3.5.1 with no config changes for SwitchBot Curtain devices (were without error messages before update)
Expected Behavior
no red error messages
Relevant Log Output
Config for homebridge-switchbot
Screenshots
No response
Device and Model
Curtain
Node.js Version
v20.15.0
NPM Version
v10.7.0
Homebridge Version
v1.8.3
Homebridge Switchbot Plugin Version
latest
Homebridge Config UI X Plugin Version
v4.56.4
Operating System
Raspbian