Closed jlaur closed 1 year ago
Seems like you are right, I‘ll check that tomorrow.
@jlaur I've fixed this, just follow the installation guide in the README to install the latest version.
@florian-h05 - after switching to latest version in openHABian, I don't see any change. That would probably require a new release?
Oh sorry, I was not clear enough. The openHABian option installs the latest release, I am planning one in the near future, but there are a few things to do until then. I meant that you can install the main branch, just follow the manual installation section here: https://github.com/openhab/openhab-js#custom-installation
This piece of code:
produces this output:
Expected Behavior
I would have expected "hue:bridge:home", since this is the UID of the thing's bridge.
Current Behavior
See above.
Possible Solution
I'm wondering if this is correct:
https://github.com/openhab/openhab-js/blob/3ba66731eee99bd8d875745ced3e6e330b3b5ab7/things/things.js#L39-L48
According to documentation, the bridge's UID, not its ID, should be returned. Furthermore, when comparing with:
https://github.com/openhab/openhab-js/blob/3ba66731eee99bd8d875745ced3e6e330b3b5ab7/things/things.js#L85-L90
it seems
toString()
is missing?So perhaps it should actually be:
Steps to Reproduce
See above.
Context
Creating new rules to monitor when Zigbee devices are unreachable.
Your Environment
openHAB 3.4