bump
Can someone who has done it, point to what I do wrong in my script. I found the following code for Philips hue flow card Set scene:
-----------
Activate the [[scene]] scene
{
"uri": "homey:app:nl.philips.hue",
"id": "setScene",
"args": [
{
"name": "scene",
"type": "autocomplete",
"title": "Scene"
}
]
}
-----------
And by following the example flow, also shown in the post above, Iβm writing it as:
await Homey.flow.runFlowCardAction({
uri: 'homey:app:nl.philips.hue',
id: 'setScene',
args: [
{
name: 'Energize Kitchen',
type: 'autocomplete',
title: 'Energize Kitchen'
}
]
})
And I get an error:
βββββββββββββββββββ
β Script Error
β οΈ Cannot read property 'bridge_id' of undefined: Cannot read property 'bridge_id' of undefined
at /node_modules/athom-api/dist/index.js:1:1186403
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Am I supposed to reference my particular Hue bridge in some way?
Any help is greatly appreciated!