This pull request also improves error events by emitting non-critical errors as a "warning"-event instead of an "error"-event which has a more appropriate default behavior (fails silently, without crashing the app). The error is also returned to callback function as first parameter (according to error-first paradigm; previously no callback was invoked).
This is a fix for the following issue: https://github.com/karbassi/netatmo/issues/4
This pull request also improves error events by emitting non-critical errors as a "warning"-event instead of an "error"-event which has a more appropriate default behavior (fails silently, without crashing the app). The error is also returned to callback function as first parameter (according to error-first paradigm; previously no callback was invoked).