ioBroker.js-controller
ioBroker.js-controller copied to clipboard
find a way to make legacy methods work with "modern" state id
We have some legacy methods, which expect device, channel, state structure. This is often very unhandy and the more commonly used methods all work with full ids now. Either we should provide logic to allow a full id too or provide new methods. Example is https://github.com/ioBroker/ioBroker.js-controller/blob/430913e1279f7d61d4b96ca30967b3faa0ec015f/packages/adapter/src/lib/adapter/adapter.ts#L5825
It is especially very unhandy if we have folders in between and if it works needs trial and error.