deprecate module currentweather and weatherforecast

This commit is contained in:
buxxi
2021-01-23 13:12:56 +01:00
parent a3cb0b7b96
commit 948b6c8de8
8 changed files with 36 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
const NodeHelper = require("node_helper");
const Log = require("../../../js/logger");
module.exports = NodeHelper.create({
// Override start method.
start: function () {
Log.warn(`The module '${this.name}' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path`);
}
});