Hotfix device_tracker yaml config (#4611)

This commit is contained in:
Pascal Vizeli 2016-11-28 18:43:47 +01:00 committed by GitHub
parent 3b9d5cdf73
commit b4841a17a6

View file

@ -291,7 +291,7 @@ class DeviceTracker(object):
This method is a coroutine.
"""
with (yield from self._is_updating):
self.hass.loop.run_in_executor(
yield from self.hass.loop.run_in_executor(
None, update_config, self.hass.config.path(YAML_DEVICES),
dev_id, device)