@iz3man wrote:
Recently checked my log for possible hick ups and errors, and saw this output, which I don’t understand. It’s something minor for sure, and it seems to have something to do with disk_usage sensor.
This is hassio 0.105.5 running.
Thank you!
2020-03-03 11:03:09 ERROR (MainThread) [homeassistant.components.sensor] systemmonitor: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update await self.hass.async_add_executor_job(self.update) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/systemmonitor/sensor.py", line 142, in update self._state = round(psutil.disk_usage(self.argument).free / 1024 ** 3, 1) File "/usr/local/lib/python3.7/site-packages/psutil/__init__.py", line 2120, in disk_usage return _psplatform.disk_usage(path) File "/usr/local/lib/python3.7/site-packages/psutil/_psposix.py", line 125, in disk_usage st = os.statvfs(path) FileNotFoundError: [Errno 2] No such file or directory: ''
Posts: 1
Participants: 1