With this PR I think I finally found the fix for https://github.com/iobroker-community-adapters/ioBroker.philips-air/issues/15: As it turned out, a type check that I had introduced to make sure that only numeric Observe values are passed to the initialization of ObserveStream objects caused them to not be initialized at all.
This PR fixes the issue and illustrates that observing now finally works again with an example using the Eclipse Californium test server.
With this PR I think I finally found the fix for https://github.com/iobroker-community-adapters/ioBroker.philips-air/issues/15: As it turned out, a type check that I had introduced to make sure that only numeric Observe values are passed to the initialization of
ObserveStream
objects caused them to not be initialized at all.This PR fixes the issue and illustrates that observing now finally works again with an example using the Eclipse Californium test server.