]> git.basschouten.com Git - openhab-addons.git/commit
[hue] Make sure the serial number will be in lowercase (#9367)
authorlolodomo <lg.hc@free.fr>
Thu, 24 Dec 2020 01:22:54 +0000 (02:22 +0100)
committerGitHub <noreply@github.com>
Thu, 24 Dec 2020 01:22:54 +0000 (17:22 -0800)
commit02b356acdf8062641ce1cfe3eb54fd0d2c86543f
tree6b55249691c82651ff947b0a43c4248461c7669f
parent133df3aa4089804618ea246d579be2b0ec25ec1b
[hue] Make sure the serial number will be in lowercase (#9367)

* [hue] Make sure the serial number will be in lowercase

Necessary for the auto-ignore discovery feature with the representation property.

Fix #9364

* Check that the serial number is not null
* Check that the serial number is not blank
* Build a discovery result even without a serial number

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/discovery/HueBridgeDiscoveryParticipant.java
bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/discovery/HueBridgeNupnpDiscovery.java
bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/HueBridgeHandler.java