Automation 2.0: How to turn of a light after 1 minute it was turned on!

I was trying to automate the following scenario:

    1. When a light turns on
    1. Wait 1 minute
    1. Then turn the light off

The automation works correctly, but it took several tests to understand how to configure it, even though it should be straightforward.

In Automation 2.0, here is the correct setup:

  1. In the “When” section: choose Turn On
  2. In the “Then” section: choose Wait 1 minute
  3. In the next “Then” action: choose Turn Off

What creates confusion is the wording of the trigger. It should clearly indicate the state of the device, for example “Est allumé (state)”, meaning that the light is currently in the “on” state. The current translation does not reflect this correctly and leads to misunderstandings.

This automation is working fine even if you turn on the light using Siri or HomeKit. It’s just a question of naming Trigger which should not be the same name of action.

4 Likes

Hi, if you add “lamp off” to the IF then the loop will never repeat until this one ends🙂

2 Likes

And this is a cyclical On/Off lamp automation with two variables with which we can choose the activation period. You can stop this automation only by turning off the automation. The work cycle is constant🤣


Nice! I don’t see any practical use but the tips are great.

Ithank you I wasn’t familiar with that time period. I’ll study this! :sunglasses:

I have a FP1E, what is the difference between this two time periods?

It looks strange to have the same function in two places?

I described these functions here. WHET is a delay, IF is a period of operation. (Fig15).

There is a practical application, I create a trigger for starting automation based on such a cycle. It’s difficult to explain simply, someday I’ll write a lesson on using my invention. In a word - it’s complex automation.