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
|
@ -30,7 +30,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||
})
|
||||
|
||||
|
||||
def setup_scanner(hass, config, see):
|
||||
def setup_scanner(hass, config, see, discovery_info=None):
|
||||
"""Validate the configuration and return a scanner."""
|
||||
from volvooncall import Connection
|
||||
connection = Connection(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue