Traceback (most recent call last):


 "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "/usr/lib/python3.6/threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "<path>/OpenWPM/automation/TaskManager.py", line 512, in _issue_command

"command_status": command_status,
UnboundLocalError: local variable 'command_status' referenced before assignment

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 261, in async_update_ha_state

await self.async_device_update()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 441, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

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


 "/usr/src/homeassistant/homeassistant/components/qbittorrent/sensor.py", line 120, in update

if data is None:
UnboundLocalError: local variable 'data' referenced before assignment
