[QUESTION] Making a set of flows that trigger other flows quicker?

Tnx! :slight_smile:
I’ll look into it tomorrow!


EDIT (tommorow is now):
Thanks Nick. I was obviously long overdue for some sleep to get what I was doing wrong.

But this morning - Eureka time! The missing link (writing the whole process for reference for the others uneduceted like myself):

By using

const Devs = await Homey.devices.getDevices();
console.log(Devs)

Find the capabilities in the log:

capabilities: [
  'alarm_motion',
  'measure_temperature',
  'measure_luminance',
  'measure_battery',
  'alarm_battery'

And then, put the wanted capability to be read and stored in variable LuxSensorLiving (“the missing link” [Source]):

const LuxSensorLiving = device.makeCapabilityInstance('measure_luminance');
console.log(LuxSensorLiving.value);

Okay. Now I think I have what I need to get all the needed criteria from the sensors, and I think I can manage if-statements on my own.

The next thing will be

  • Finding a logic/variable through HomeyScript, probably some getVariables thingy.
  • Finding how to activate hue scenes from the script.

I’ll keep the track of it in the post. Now, if you’ll excuse me, I need to go to work with what I’m getting payed for to do. Strike the last one.