Scene trigger: How to have 2 conditions

Hello

I would like to turn on my water heater if I am at home AND if it is 10:05 PM (off-peak hours)

Not an OR but an AND

Is there a good way to do this?

Thanks in advance

Good evening

So personally I would keep the time-based condition and then I would add an if statement for the other condition at the beginning of my scene scripting.

Hi @bong101 :slight_smile:

I think you’re confusing « Trigger » and « Condition »!

In your case, I recommend doing this:

Keep the scheduled trigger at 12:00 (your trigger), and then add a condition « If the house is not empty ».

The scene will stop if you’re not at home; however, if you are at home, it will continue in the following action block.

The condition « If the house is not empty » checks that at least one user of the house is present. This assumes that you manage presence in Gladys, either via your phone, via OwnTracks and zones, via Wi‑Fi scanning, or via Bluetooth scanning… (endless possibilities!)