Fix OwnTracks deadlocking (#19260)
* Fix OwnTracks deadlocking * Fix deadlock
This commit is contained in:
parent
965e47eb6a
commit
baa1801e13
2 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,7 @@ from .config_flow import CONF_SECRET
|
|||
|
||||
DOMAIN = "owntracks"
|
||||
REQUIREMENTS = ['libnacl==1.6.1']
|
||||
DEPENDENCIES = ['device_tracker', 'webhook']
|
||||
DEPENDENCIES = ['webhook']
|
||||
|
||||
CONF_MAX_GPS_ACCURACY = 'max_gps_accuracy'
|
||||
CONF_WAYPOINT_IMPORT = 'waypoints'
|
||||
|
|
|
@ -277,6 +277,8 @@ def setup_comp(hass):
|
|||
"""Initialize components."""
|
||||
mock_component(hass, 'group')
|
||||
mock_component(hass, 'zone')
|
||||
hass.loop.run_until_complete(async_setup_component(
|
||||
hass, 'device_tracker', {}))
|
||||
hass.loop.run_until_complete(async_mock_mqtt_component(hass))
|
||||
|
||||
hass.states.async_set(
|
||||
|
|
Loading…
Add table
Reference in a new issue