ioBroker.js-controller icon indicating copy to clipboard operation
ioBroker.js-controller copied to clipboard

find a way to make legacy methods work with "modern" state id

Open foxriver76 opened this issue 8 months ago • 0 comments

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.

foxriver76 avatar Oct 07 '23 13:10 foxriver76