I’m runnign DSM 6.2.2 update 4 on my Synology.
I integrated “synologydsm” (HomeAssistant 0.104.1) but I get the following issue:
2020-01-27 00:36:20 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
state = self.state
File "/usr/src/homeassistant/homeassistant/components/synologydsm/sensor.py", line 235, in state
return round(attr / 1024.0, 1)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Will review sensors once at home, but I used the documentation sample for my config
Also whats is not up to date ? I’m on HomeAssistant 0.104.1 and even if it’s not latest should be quite new.
In the JSON answer I can see “cpu loads”,“eth0/1 usage” and “memory”
So I don’t think it’s a network error, but more the plugin that is not working as expected.
Can you help dig into the code ? I know very little of python unfortunately.