Skip to content

Homekit automation problem!

Homekit automation problem!

I tried to find ways to combine a delay with an if statement from my automation. I’m also not sure if this post should be under / shortcuts …..

I want the air conditioner to turn on as follows

Occupancy is detected, wait 100 seconds
If occupancy is still detected, turn on the air conditioning
and vice versa to deactivate

I tried a shortcut automation, but it didn’t work

I use the homelink broadlink rm plugin for air conditioning
For occupancy sensors I use a unified home occupancy plugin