Thank you for the reply but I can’t use the second flow because the app doesn’t have the option to check for luminance in the AND section, as I said in my post. Unfortunately the app has only one option in the AND section, that is “motion alarm is on”.
I already use a logic card for the luminance value.
The problem is that the first flow I listed doesn’t turn the light on. In fact, this doesn’t make any sense, the flow should be triggered by motion and not luminance. As I can only add another motion check in the AND section, this makes the app useless if I need to automate something based on two conditions.
This does not depend on the app but on the capabilities of the device (Aeotec Tri-Sensor). As the Aeotec Tri-Sensor can measure luminance, the " luminance " capability is also available for the logic cards.