mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Remove netgear discovery hack
This commit is contained in:
parent
d4174f5e42
commit
81288cc988
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user