Closed Gernot closed 7 years ago
Sorry, but getState must always return a Promise. So thanks for you changes but i won't merge them, as the problem must be fixed in the plugin that returns "undefined" when calling getState (probably pimatic-wemo?)
Sure, I see, thanks. Will continue with pimatic-wemo.
I seriously have no idea about Node & Coffeescript, so this is my first attempt at fixing #57 . No idea if this is the best way to fix it, but it seems to "work for me"™.