Skip to content

Commit

Permalink
Fix broken bluetooth tracker (home-assistant#16589)
Browse files Browse the repository at this point in the history
  • Loading branch information
awarecan authored and balloob committed Sep 13, 2018
1 parent d0aeb90 commit 1586d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/device_tracker/bluetooth_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def discover_devices():

request_rssi = config.get(CONF_REQUEST_RSSI, False)

def update_bluetooth():
def update_bluetooth(_):
"""Update Bluetooth and set timer for the next update."""
update_bluetooth_once()
track_point_in_utc_time(
Expand Down Expand Up @@ -111,7 +111,7 @@ def handle_update_bluetooth(call):
"""Update bluetooth devices on demand."""
update_bluetooth_once()

update_bluetooth()
update_bluetooth(dt_util.utcnow())

hass.services.register(
DOMAIN, "bluetooth_tracker_update", handle_update_bluetooth)
Expand Down

0 comments on commit 1586d30

Please sign in to comment.