tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
23
Good question:
Ideally the Valve shows up as “capability.valve” instead of “capability.switch”.
The actions to be taken are then wet → “close() or shut()”, dry → “open()”; with perhaps some extra logic to determine if it is safe to "open()" the valve arbitrarily.
If the Valve is still reading as “capability.switch”, then I presume "off()" means Shut, and “on()” means Open.