mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
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:
parent
4ec3289f9c
commit
d547345f90
@ -107,6 +107,9 @@ def setup(hass, config):
|
|||||||
|
|
||||||
def bridge_discovered(hass, service, discovery_info):
|
def bridge_discovered(hass, service, discovery_info):
|
||||||
"""Dispatcher for Hue discovery events."""
|
"""Dispatcher for Hue discovery events."""
|
||||||
|
if "HASS Bridge" in discovery_info.get('name', ''):
|
||||||
|
return
|
||||||
|
|
||||||
host = discovery_info.get('host')
|
host = discovery_info.get('host')
|
||||||
serial = discovery_info.get('serial')
|
serial = discovery_info.get('serial')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user