Traceback (most recent call last):


 "/home/gautier/code/multibootusb/scripts/usb.py", line 370, in details

udev = details_udev(usb_disk_part)


 "/home/gautier/code/multibootusb/scripts/usb.py", line 229, in details_udev

if not mount_point == '':
UnboundLocalError: local variable 'mount_point' referenced before assignment


Traceback (most recent call last):


 "/usr/lib/python3.6/asyncio/tasks.py", line 182, in _step

result = coro.throw(exc)


 "/usr/lib/python3.6/site-packages/homeassistant/core.py", line 1038, in _event_to_service_call

yield from service_handler.func(service_call)


 "/usr/lib/python3.6/site-packages/homeassistant/components/climate/__init__.py", line 399, in async_operation_set_service

yield from climate.async_set_operation_mode(operation_mode)


 "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup

future.result()


 "/usr/lib/python3.6/asyncio/futures.py", line 245, in result

raise self._exception


 "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/lib/python3.6/site-packages/homeassistant/components/climate/nest.py", line 166, in set_operation_mode

self.device.mode = device_mode

UnboundLocalError: local variable 'device_mode' referenced before assignment
