Here’s the updated OneApp DTH.
Steps to use:
Login to graph ide .
Add a new device handler:
Select From Code:
Copy paste the code above from OneApp Flume Water Flow DH.groovy file then hit Create button.
Go to your current Flume under My devices. Edit the device type:
Select OneApp Flume.
You’ll see this in OneApp:
Much thanks to @nayelyz and @orangebucket for helping me understand this new framework.
There are some cosmetic improvements I’m investigating but this updated OneApp DH should be a good start for now.