csteele
2
There are several choices. For just a switch, there's the built in App Hub Link and it's ST companion Send Hub Events:
https://docs.hubitat.com/index.php?title=Send_Hub_Events
Far more complete is HubConnect which supports many more attributes.
Neither will work for much longer as ST kills off both their IDE and Groovy.
1 Like