I have an electric garage door which can be opened or closed by Tuya and with a sensor which can dedect if the garage is open or closed. Simple automations like to open the door and close it automaticlaly after 30 seconds I managed to do. However I need to create an automation that if the...