Bluetooth device tracker error after update HA to 0.36

After update HA to 0.36 I have error in log for Bluetooth device tracker. Any solution?

17-01-16 09:14:12 homeassistant.components.device_tracker: Error setting up platform bluetooth_tracker Traceback (most recent call last): 
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/device_tracker/__init__.py", line 164, in async_setup_platform None, platform.setup_scanner, hass, p_config, tracker.see)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__ yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 89, in setup_scanner update_bluetooth(dt_util.utcnow())
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 87, in update_bluetooth now + timedelta(seconds=interval)) TypeError: unsupported type for timedelta seconds component: datetime.timedelta

File https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/device_tracker/bluetooth_tracker.py fixes the problem.

How can I fix this problem with these files? Seems that I have the same problem with the bluetooth and upc_connect device trackers.

You have to download bluetooth_tracker.py file and save it to your Home Assistant directory for example /srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/device_tracker for Raspberry Pi.

Thanks that was easy :slight_smile: