I have created an Issue in Github related to Docs and Typescript definitions being out of sync with the actual implementation of AthomCloudApi and HomeyApi; https://github.com/athombv/homey-web-api-issues/issues/9.
Now, one thing is that this gives ugly errors in my IDE, but it also make consumption of these APIs as a nightmare and requires a lot trying, failing and guessing. It doesnt help that no source map is includes in the NPM package and that your only option is looking at minified JS code. What did I do wrong to you?
Any chance Athom devs can help other fellow devs to make our dev life easier?