-
Notifications
You must be signed in to change notification settings - Fork 10
Description
ioBroker/ioBroker.js-controller#2677
createState/Channel/Device and deleteState/Channel/Device will be deprecated with js-controller 6.
Lt repo checker warn devs (trigger on adapter.createState and this.createState etc.)
@copilot
Please check all executable code whether the methods createState, createChannel, createDevice, deleteState, deleteChannel or deleteState provided by adapter class are used. Those methodes could be identified by typical invocation call this.createState or adapter.createState (and analog syntax for other methods).
Issue a warning if such a usage is detected statiung that those methods are deprectated and will be removed. Suggest to use setObject or deletObject instead.
Do not register private function with this name.
Do not add a 'Fixes...' comment at PR
Please add a changelog entry to README.md