Traceback (most recent call last):


 "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 1639, in _monitor

self._handle_ok()


 "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2087, in _handle_ok

self._continue_sending()


 "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2197, in _continue_sending

if self._send_from_command_queue():


 "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2375, in _send_from_command_queue

entry = self._command_queue.get(block=False)


 "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 3865, in get

return TypedQueue.get(self, *args, **kwargs)


 "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/__init__.py", line 1401, in get

item, _ = PrependableQueue.get(self, *args, **kwargs)


 "/usr/lib/python2.7/Queue.py", line 182, in get

self.not_empty.release()
TypeError: 'thread.lock' object is not callable

Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 312, in _async_add_entity

await entity.async_device_update(warning=False)


 "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 474, in async_device_update

await self.async_update()


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/xiaomi_miio/light.py", line 369, in async_update

self._brightness = ceil((255 / 100.0) * state.brightness)
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'
