Hi! Unfortunately, the app crashed while I was doing the following: (...) This is the stack trace: /lib/MiFloraDevice.js:300 let minValue = args.device.getSetting(this._thresholdMapping[capability].min); ^ TypeError: args.device.getSetting is not a function at Homey.FlowCardCondition.register.registerRunListener (/lib/MiFloraDevice.js:300:52) at FlowCardCondition._onRun (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/FlowCard.js:1:1246) at emitThree (events.js:136:13) at FlowCardCondition.emit (events.js:217:7) at ManagerFlow._onRun (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/manager/flow.js:1:2274) at _eventListeners.filter.forEach.t (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1219) at Array.forEach () at HomeyClient._onMessage (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1196) at emitTwo (events.js:126:13) at process.emit (events.js:214:7)
Hi! Unfortunately, the app crashed while I was doing the following: (...) This is the stack trace: /lib/MiFloraDevice.js:300 let minValue = args.device.getSetting(this._thresholdMapping[capability].min); ^ TypeError: args.device.getSetting is not a function at Homey.FlowCardCondition.register.registerRunListener (/lib/MiFloraDevice.js:300:52) at FlowCardCondition._onRun (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/FlowCard.js:1:1246) at emitThree (events.js:136:13) at FlowCardCondition.emit (events.js:217:7) at ManagerFlow._onRun (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/manager/flow.js:1:2274) at _eventListeners.filter.forEach.t (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1219) at Array.forEach () at HomeyClient._onMessage (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1196) at emitTwo (events.js:126:13) at process.emit (events.js:214:7)