mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Fix OwnTracks deadlocking (#19260)
* Fix OwnTracks deadlocking * Fix deadlock
This commit is contained in:
parent
9efb90d23c
commit
34cfdb4e35
@ -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…
x
Reference in New Issue
Block a user