Skip HASS emulated Hue bridges from detection. (#11128)

When refactoring the Hue support we lost a check for HASS bridges; restore that.
This commit is contained in:
Andrea Campi 2017-12-14 04:00:30 +00:00 committed by Paulus Schoutsen
parent 4ec3289f9c
commit d547345f90

View file

@ -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')