@kenci Ok, thanks for the clarification
I had a look at the issue and I have filed a pull request with a candidate fix.
https://github.com/wutu/pimatic-mqtt/pull/37
For the books:
@developer please note, action operations must always return a Promise