- changed status to resolved
Can't get values from homeyscript
Hi Arie! After the update to SDK3 I can no longer get (and set?) the values of my variables through Homeyscript. The following example doesn't work anymore. Is it a bug or do I somehow need to update my Homeyscripts?
let BLApp = await Homey.apps.getApp({id:"net.i-dev.betterlogic"}); let myVar = await BLApp.apiGet("/myVar/");
❌ Script Error ⚠️ not_found: Not found: GET /api/app/net.i-dev.betterlogic/myVar/ at /node_modules/athom-api/dist/index.js:1:1247257 at processTicksAndRejections (node:internal/process/task_queues:96:5)
Best regards Håkan Bergström
Comments (4)
-
repo owner -
That’s great! 👍 Looking forward to see what features you might come up with🙂 Personaly I would like a confirm-button before deleting a variable, I’m afraid of clicking the wrong button 😆
-
repo owner Hey, i already placed a confirm before the Delete All Button.
I am right now also implementing one for the single delete button and will push it through in a moment.
-
repo owner Okay, the confirm button for single deletion is in test/review right now.
- Log in to comment
This is resolved in the Current Test version waiting for review by athom. Sorry about that m8! https://homey.app/nl-nl/app/net.i-dev.betterlogic/Better-Logic/test/