From 09ef2e1b8c5e85cb424918944881e6e201d22566 Mon Sep 17 00:00:00 2001 From: pavoni Date: Fri, 29 Jan 2016 11:59:16 +0000 Subject: [PATCH] Add docstring, remove trace. --- homeassistant/components/device_tracker/owntracks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/device_tracker/owntracks.py b/homeassistant/components/device_tracker/owntracks.py index 4a8b9083f0a..6a55d9a0e0d 100644 --- a/homeassistant/components/device_tracker/owntracks.py +++ b/homeassistant/components/device_tracker/owntracks.py @@ -137,8 +137,8 @@ def setup_scanner(hass, config, see): return def see_beacons(dev_id, kwargs): - # Live beacons should be set to the same location - _LOGGER.info(MOBILE_BEACONS_ACTIVE) + """ Set active beacons to the current location """ + for beacon in MOBILE_BEACONS_ACTIVE[dev_id]: kwargs['dev_id'] = beacon kwargs['host_name'] = BEACON_DEV_ID