Is there a middle ground here where the Hubitat team turns the documentation into a editable surface by this community, or heck even on something like Github where we do pull requests for helping to keep it up to date and help document things like this that we all run into?
Hmm, yeah, that seems like a pretty high bar.
Create a new account, request edit permission, etc.
If someone sees an issue, it's so much easier to just suggest specific edits to the owners, like Gitlab, Matter most and others do. https://www.gitbook.com/ is a good example of this.
Invalid argument. You're telling me that cars aren't a consumer product? You can kill yourself and others just by operating a car. There are other reasons HE is not perfectly geared towards consumers but being able to write apps is not one of them. Every good product has an API or customization options.
What's the difference in between searching Discourse and searching through documentation?
Any suggestions for the issues I am seeing trying to get my Andersen Verliock translator and sensors moved over from Wink using a driver for it from ST? See discussion here - links to ST drivers are a few posts up (I'm definitely in over my head in doing a more complicated port from ST code )
We changed that awhile ago, sorry that post did not get updated. All you have to do is sign up for an account on docs.hubitat.com and start editing. There is still an approval process so your edits do not show up publicly immediately
What should I do with these commands from a SmartThings SmartApp? Not sure how to port it.
app?.deleteSetting("$name")
Giving this error in the logs:
groovy.lang.MissingMethodException: No signature of method: **************deleteSetting() is applicable for argument types: (org.codehaus.groovy.runtime.GStringImpl) values: [8a0fd8ce-6c50-4572-8da5-68d2204b7e2b_zones] on line 184 (deleteSetting)
And
revokeAccessToken()
gives a similar error - no signature of method
And
addRemoveDevices Exception: groovy.lang.MissingPropertyException: No such property: completedSetup for class: com.hubitat.app.ChildDeviceWrapper
I don't see anything in the hubitat developer documentation...
And the last one you didn't provide the code in question so it's not really something I can answer, though I suspect you need to look at the first post in this thread which has the syntax for addChildDevice which is not the same as SmartThings. I suspect that's the issue,
Thanks. The code is:
d = addChildDevice("lnjustin", getChildContName(), contDev?.key, null, [label: getDeviceLabelStr(contDev?.value?.name)])
d.completedSetup = true // this line is causing the error
I don't see anything in the addChildDevice syntax to indicate completedSetup?
completedSetup doesn't exist in HE as far as I'm aware. Just remove that line, you won't need it. Mind if I ask what you're porting? It's possible someone already did the heavy lifting for you!
dev:2692020-10-10 10:07:26.718 pm errorgroovy.lang.MissingMethodException: No signature of method: java.util.LinkedHashMap.encodeAsJson() is applicable for argument types: () values: [] Possible solutions: encodeAsBase64() on line 168 (calledBackHandler)
dev:2692020-10-10 10:07:16.480 pm errorgroovy.lang.MissingMethodException: No signature of method: java.util.LinkedHashMap.encodeAsJson() is applicable for argument types: () values: [] Possible solutions: encodeAsBase64() on line 168 (calledBackHandler)