Smart Life / Smarthings -- Valve for Leaks

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.

  1. If virtual valve is open then toggle the ON switch imported into ST.

  2. If the virtual valve is closed then toggle the OFF switch imported into ST.