sorry for having to ask what im sure is a very basic issue, im new to HA and im a bit old / stupid which doesn’t help.
i have set up an ikea 4 button remote (styrbar) using a number of automations (tried the blueprint first but didn’t like the top / bottom buttons being tied to the on / off function) to control various lights which all works fine except the outside light which does exactly what i have set up. my question is how do i get the button to toggle the light back off again before the timer has elapsed.
On the menu in the top right, select to change Mode and select “Restart”, so when you press the button again while the automation is running it will restart…
I would consider using and ‘IF / THEN / ELSE’ option here.
Leave you trigger and condition as it is but change the action so as to firstly check if the light is off (rather than toggle) and if it is then turn it on, wait 2 mins and then turn it off. Therefor if it is not ‘off’ I.E. its on, turn it off.
Important note here would be to change the automation from ‘single’ to ‘restart’ to allow for the delay to cancel so to speak if you were to press the button again during the 2 mins delay.
that’s fixed it. i had tried the ‘if this / then that’ thing before but what i had not tried (or even found) was the ‘restart’ option which is what was missing. you’re a star thanks very much.