Problems creating dynamic channels

Hi,

I’m trying to create some dynamic channels for the ring binding, to allow functionality to turn on/off the light and siren for supported devices.

My code runs, and I get a log saying that it’s added a channel - but this doesn’t appear under the Thing.

Anyone have any ideas?

Code is at openhab-addons/bundles/org.openhab.binding.ring/src/main/java/org/openhab/binding/ring/internal/handler/StickupcamHandler.java at ring-switches · psmedley/openhab-addons · GitHub

Thanks!

Paul

Fixed this, I was missing the channel definitions in things.xml - I had them there initially, them removed them to see if it fixed things, then (eventually) realised they were required!