Hi Guys,
I’m trying to set an automation for my zigbee aqara curtain with aqara button where by utilising the single press in order to toggle open and close.
in my head, the plan is just to set whenever single press is triggered, to then check the state of the curtains. If the curtains are open, then to close them and to open when they’re closed.
But I’m stuck and wondering if anyone can help me to understand what this “if then” option does or even suitable to what I need.
so currently, it looks something like this. I basically set condition with nothing. then straight down to action where I specified, if curtains are open, then run close script which basically set both left and right curtains to close position, then else, set them to open position. This doesn’t seems to be work as intended. any guidance would be much appreciated. thanks