Triggering condition AND for scenes

Actually, that’s not how it works under the hood.

A trigger is an event.

An event occurs at a unique moment in time, and 2 events cannot happen at the same time.

There is a real temporality in the execution of a scene, hence the order:

  1. The event occurs, triggering the scene
  2. Additional states are checked in a condition

I tend to think that what blocks people with this trigger story is that they don’t realize that the trigger

  • is not mandatory
  • is just a temporary entry point into a scene.

The user must understand what their trigger will be from their list of conditions to be met for a scene to take place.

In other words, with this temperature/day/etc. story, you need to keep in mind that the trigger will have to be the temperature rising above 23° and use several « continue if and only if » conditions for the rest.

Or maybe it’s me who’s also wrong ^^

That’s exactly it @guim31 :slight_smile:

Hello everyone,
I am in the same situation as @Fabic and @lmilcent because I want to combine conditions (movement in a room AND low brightness = turn on a light for 30 seconds, low brightness AND NOT (from 11:30 PM to 8:00 AM) = turn on a light).
Would it be possible to write a detailed example for us with screenshots? Once this document is made available, I think many (myself first …) will understand how to implement everything else :slight_smile:
Thank you,
Have a nice day,
Jean

Hi @jean_bruder :slight_smile:

All of that is entirely possible and relatively simple!

I’ll show you two examples from my personal setup:

Toilet lighting (daytime)

At my place, the toilet lights turn on at full power between 8:00 and 20:00 (and more dimly at other times)

Here’s the scenario that turns the toilet lights on during the day:

Bathroom mirror lighting

For my bathroom mirror, I installed a push button — when the light is off it turns it on, when the light is on it turns it off)

Here’s how I did that:

If you’re interested, I show lots of scenarios I’ve set up at my home in the Gladys course (currently at -25% on formation.gladysassistant.com).

It can help spark ideas!

Hi @pierre-gilles,
I’ll set that up and see how it behaves :+1: Indeed, given how it’s implemented, it’s both super simple and super logical! Thanks :heart_eyes: