Starting point:
I want to add options to my channel based on the presets/favourites, other devices in the network, …
I have found the following thread regarding dynamic state options.
The documentation is bit short but better than nothing
I also looked at the following bindings : KODI, Squeezebox, onewire, Sonos but I can’t figure what’s going wrong.
I compared the code and added the class and references.
However, now I get the following error in VS Code:
HandlerFactory.java:[43,1679] The @NonNull field stateDescriptionProvider may not have been initialized.
Also I notice that the color scheme is not respected. Source can be found here
Any advice where to look? I spent already a few hours on testing but each I get stuck at the same point.
Do you plan to support multiple languages in your state descriptions? Because you added the i18n code (although I suspect you just copied the code and have no idea why it’s there )
To add to Christoph comment. You need to add @Reference:
I do know what i18n code is for but getting a bit desperate. So this part is there as I saw it in the other bindings and in the documentation.
The @Reference part is in there but still getting the same message.
Regarding the naming conventions: will do in a later stage. Currently looking to get this working.
Perhaps do tabula rasa and start over (once more )