Telldus API - async

The call is asynchronous and returns a promise so you need to await for that to complete before you return the answer... see their readme page for an example.