mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 10:47:51 +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"
|
DOMAIN = "owntracks"
|
||||||
REQUIREMENTS = ['libnacl==1.6.1']
|
REQUIREMENTS = ['libnacl==1.6.1']
|
||||||
DEPENDENCIES = ['device_tracker', 'webhook']
|
DEPENDENCIES = ['webhook']
|
||||||
|
|
||||||
CONF_MAX_GPS_ACCURACY = 'max_gps_accuracy'
|
CONF_MAX_GPS_ACCURACY = 'max_gps_accuracy'
|
||||||
CONF_WAYPOINT_IMPORT = 'waypoints'
|
CONF_WAYPOINT_IMPORT = 'waypoints'
|
||||||
|
@ -277,6 +277,8 @@ def setup_comp(hass):
|
|||||||
"""Initialize components."""
|
"""Initialize components."""
|
||||||
mock_component(hass, 'group')
|
mock_component(hass, 'group')
|
||||||
mock_component(hass, 'zone')
|
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.loop.run_until_complete(async_mock_mqtt_component(hass))
|
||||||
|
|
||||||
hass.states.async_set(
|
hass.states.async_set(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user