Download @blueyetisoftware Virtual Hub Edge driver and use it to create a virtual valve.
Then write 2 automations in ST to toggle the SmartLife tap and runs that were imported into ST.
-
If virtual valve is open then toggle the ON switch imported into ST.
-
If the virtual valve is closed then toggle the OFF switch imported into ST.