ZeroOne3010 / yetanotherhueapi

A Java library for controlling Philips Hue lights. Available from the Maven Central.
MIT License
68 stars 21 forks source link

Wrong usage of HueBridge constructor: IP and name are reversed #15

Closed marcboehm-captica closed 4 years ago

marcboehm-captica commented 4 years ago

https://github.com/ZeroOne3010/yetanotherhueapi/blob/d846ad0e3bd6e3ebe2e32594d780855e9a589633/src/main/java/io/github/zeroone3010/yahueapi/discovery/HueBridgeDiscoveryService.java#L98

Name and IP are reversed on HueBridge object recieved through discovery service.

ZeroOne3010 commented 4 years ago

Wow, that's a bummer... Thanks for reporting!

ZeroOne3010 commented 4 years ago

The fix has now been released in version 1.3.1. Thank you and sorry, @seveno-marc! (It seems that you created a GitHub account just to report this issue, I'm humbled! :bowing_man:)