Skip to content

Conversation

@itsayellow
Copy link
Contributor

Currently if one calls find_hue_bridge_mdns() multiple times, the same bridge(s) will accumulate in global variable mdns_bridge. Thus calling this function multiple times creates multiple identical (redundant) entries.

This code resets mdns_bridges to an empty list at the beginning of each call of find_hue_bridge_mdns()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant