mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Remove netgear discovery hack
This commit is contained in:
@@ -79,13 +79,6 @@ def setup(hass, config):
|
|||||||
if not component:
|
if not component:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Hack - fix when device_tracker supports discovery
|
|
||||||
if service == SERVICE_NETGEAR:
|
|
||||||
bootstrap.setup_component(hass, component, {
|
|
||||||
'device_tracker': {'platform': 'netgear'}
|
|
||||||
})
|
|
||||||
return
|
|
||||||
|
|
||||||
# This component cannot be setup.
|
# This component cannot be setup.
|
||||||
if not bootstrap.setup_component(hass, component, config):
|
if not bootstrap.setup_component(hass, component, config):
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user