I’m starting to convert all my HomeKit automations to HA. One of the feature in HomeKit is turn of after xx minutes. Basically I’d like an automation that:
Turn on light when motion and some other conditions, when the light is off
Turn off light if it was turned on by (1) after x minutes
If the motion triggers turn on again, reset the timer
if the light was already on when motion, never turn it off (manual controlled)
when (1) is triggered and I manually turn off the light, ignore the motion trigger for xx minutes
All the above is done simply by allowing turn off after xx minutes in HomeKit, but I cannot see an easier way to do it without introducing a couple of helpers in HA, am I making simple things too complex than necessary?
Thanks that’s a nice short automation that does many things I listed.
Does anyone know a smart way to track if the light on was triggered by the motion sensor or else I don’t want the motion sensor turn off the light (with the automation example)? I can’t think of a way to do it without helper and I hate helpers…