Hello everyone, I’m trying to set up a smart lighting automation that turns on a lamp based on multiple conditions. Here’s what I want to achieve: every Tuesday, when the light intensity drops below 20, I want the lamp to turn on at 6:15 AM and turn off at 8:30 AM. I have a multisensor6 device, but I’m not sure how to create this flow. I’ve tried looking into the SmartApp options, but most of them use an ‘OR’ condition, and I need an ‘AND’ condition for my case. Specifically, I want the garage lights to turn on only if there’s presence detected, the garage door is open, and it’s after 7 PM or sunset. I’ve also tried setting up a timer for the lights to stay on, but it doesn’t seem to work as expected. Does anyone have any suggestions or code snippets that could help me achieve this? I’d really appreciate any guidance!