stefan-kaestle / openhab2-addons

Add-ons for openHAB 2.x
Eclipse Public License 2.0
16 stars 1 forks source link

Detect incorrect device ID instead of showing the thing as "Online" #34

Closed coeing closed 3 years ago

coeing commented 3 years ago

Right now any configured thing that has a bridge is shown as "Online", even if the specified device id is invalid (any string possible). We should do a test request to the controller on initialization to check if a device with this ID exists. It might be enough to do this only when the device ID was first set or changed, but as a first step I would do it on each initialization. This can be implemented in the base class BoschSHCBridgeHandler

coeing commented 3 years ago

Fixed by #90