Add mysensors device tracker and platform discovery (#5781)
* Add mysensors device_tracker platform * Add discovery of device_tracker platforms * Enable discovery of device_tracker platforms that are not DeviceScanner. * Update signature of setup_scanner function in all affected platforms. * Add test. * Use discovery for mysensors device_tracker platform. * Remove gps accuracy * Small change to core like schema * fix depency
This commit is contained in:
parent
c7fd28c10f
commit
45a7c27280
17 changed files with 104 additions and 15 deletions
|
@ -20,7 +20,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||
DEPENDENCIES = ['http']
|
||||
|
||||
|
||||
def setup_scanner(hass, config, see):
|
||||
def setup_scanner(hass, config, see, discovery_info=None):
|
||||
"""Setup an endpoint for the Locative application."""
|
||||
hass.http.register_view(LocativeView(see))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue