aheil / openhab

openHAB fork for MAX!Cube binding development
Eclipse Public License 1.0
2 stars 0 forks source link

Fixed possible NullPointerException when encountering unknown device #5

Closed dereulenspiegel closed 10 years ago

dereulenspiegel commented 10 years ago

I introduced UnsupportedDevice so null is never returned when creating devices. I also added a little bit more logging.

aheil commented 10 years ago

Thanks a lot for this contribution. I will merge this pull request. This will fix also issues with other devices not yet implemented in this binding.