When using the SynologyDSM sensor, I get an error when trying to use the “volume_disk_temp_avg” monitored condition. With that commented out the other conditions update properly, but with that in I get:
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 268, in _async_add_entity
yield from entity.async_update_ha_state()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 215, in async_update_ha_state
state = self.state
File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/synologydsm.py", line 228, in state
return round(attr * 1.8 + 32.0, 1)
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
I am experiencing the same exact issue. The only condition that is affected is volume_disk_temp_avg. Have you had any success in resolving that issue? I find it to be more useful than the volume_disk_temp_max option. Here is the error that I get repeatedly when volume_disk_temp_avg is enabled:
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity.py", line 208, in async_update_ha_state
state = self.state
File "/usr/src/app/homeassistant/components/sensor/synologydsm.py", line 228, in state
return round(attr * 1.8 + 32.0, 1)
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
Nope, I never found a solution. It actually spurred me to look into Grafana for monitoring my Synology. There wasn’t even any replies to my github issue.
Did anyone ever resolve this? I have the same issue with sensors showing unknown and no errors in the log. Wondering if it is a synology permission issue with the user I set up…