When my Tellstick binding for Openhab 2 is starting up I need to access the bridgehandler from the devicehandler.
The purpose is to add a event listener for updates to the device.
This seems to be the design pattern used in other bindings, however I have an issue.
When the devices are initializing the bridge has not been initialized yet, so I cannot add the listener on the bridge. Therefore I get no updates.
Should this be done differently ?
Is there a way to make sure the bridge gets initialized first ?
Jarle