Skip to content

Commit

Permalink
Skip HASS emulated Hue bridges from detection. (home-assistant#11128)
Browse files Browse the repository at this point in the history
When refactoring the Hue support we lost a check for HASS bridges; restore that.
  • Loading branch information
andreacampi authored and balloob committed Dec 14, 2017
1 parent 4ec3289 commit d547345
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/hue.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ def setup(hass, config):

def bridge_discovered(hass, service, discovery_info):
"""Dispatcher for Hue discovery events."""
if "HASS Bridge" in discovery_info.get('name', ''):
return

host = discovery_info.get('host')
serial = discovery_info.get('serial')

Expand Down

0 comments on commit d547345

Please sign in to comment.