Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "lib/python3.7/site-packages/flair/nn.py", line 88, in load

state = torch.load(f, map_location='cpu')


 "lib/python3.7/site-packages/torch/serialization.py", line 594, in load

return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)


 "lib/python3.7/site-packages/torch/serialization.py", line 853, in _load

result = unpickler.load()


 "lib/python3.7/site-packages/flair/embeddings/token.py", line 1523, in __setstate__

if not os.path.exists(self.cache_dir / state["lang"]):


 "lib/python3.7/pathlib.py", line 925, in __truediv__

return self._make_child((key,))


 "lib/python3.7/pathlib.py", line 704, in _make_child

drv, root, parts = self._parse_args(args)


 "lib/python3.7/pathlib.py", line 658, in _parse_args

a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in _async_add_entity

await entity.async_device_update(warning=False)


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

await self.async_update()


 "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/air_quality.py", line 80, in async_update

state = await self.hass.async_add_executor_job(self._device.status)


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

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


 "/usr/local/lib/python3.7/site-packages/miio/airqualitymonitor.py", line 241, in status

values = self.send("get_prop", properties)


 "/usr/local/lib/python3.7/site-packages/miio/device.py", line 237, in send

cmd = {"id": self._id, "method": command}


 "/usr/local/lib/python3.7/site-packages/miio/device.py", line 384, in _id

self.__id += 1
TypeError: can only concatenate str (not "int") to str
