Bout to flip my switch!

Yes. I would like to create what would seem to be a simple rule but I can't got d*?$ figure it out!

I want a light to turn on when a contact switch opens. From this point I want the light to turn off when the first of two things happens

1 That contact closes or

2 Certain amount of time has elapsed.

Is this even freaking possible :weary:

I feel like an idiot here somebody tell me I'm not....

Or give me the answer and silently scold me

Trigger:
Contact open

Actions:
Turn light on
Wait for event: Contact closed --> Timeout: xx:xx
Turn light off

2 Likes

Trigger Contact changes

[If contact is open] then
Turn on bulb
Turn off bulb -> delay (time X)
[Else If contact is closed and bulb is on] then
Turn bulb off
[End if]

Using Basic Rules:

Thanks guys turns out I'm just an idiot...

Relax, you're a newbie. We've all been there. :wink:

1 Like