Skip to content

Commit

Permalink
Merge pull request #102 from mstfldmr/mstfldmr-patch-1
Browse files Browse the repository at this point in the history
Update SSDPBridgeLocator.cs
  • Loading branch information
michielpost authored Feb 27, 2017
2 parents df98932 + 8c56833 commit 54f83fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Q42.HueApi.NET/SSDPBridgeLocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private async Task<IEnumerable<LocatedBridge>> FilterBridges(List<string> discov
var ip = endpoint.Replace("http://", "").Replace("/description.xml", "");

//Not in the list yet?
if (bridges.Where(x => x.IpAddress == ip).Any())
if (!bridges.Where(x => x.IpAddress == ip).Any())
{
//Check if it is Hue Bridge
string serialNumber = await IsHue(endpoint).ConfigureAwait(false);
Expand Down

0 comments on commit 54f83fe

Please sign in to comment.