I have installed Hassbian Home Assistant 0.93.0 on a RPI 3B+ and I am trying to get the SynologyDSM Sensor to work with my DS918+ but I am getting a warning during configuration validation:
2019-05-18 09:11:29 WARNING (MainThread) [homeassistant.helpers.config_validation] Your configuration contains extra keys that the platform does not support.
Please remove [name], [monitored conditions].
Offending data: {"platform": "synologydsm", "ssl": "<redacted>", "host": "<redacted>", "port": "<redacted>", "name": "Synology_DS918+", "username": "<redacted>", "password": "<redacted>", "monitored conditions": ["cpu_total_load", "memory_real_usage", "network_up", "volume_status", "volume_percentage_used", "volume_disk_temp", "disk_name", "disk_status"]}
Here is the entry in my configuration.yaml file:
- platform: synologydsm
ssl: False
host: !secret sensor_synology_host
port: 5000
name: Synology_DS918+
username: !secret sensor_synology_username
password: !secret sensor_synology_password
monitored conditions:
- cpu_total_load
- memory_real_usage
- network_up
- volume_status
- volume_percentage_used
- volume_disk_temp
- disk_name
- disk_status
If I restart Home Assistant I get the following error:
2019-05-18 09:23:20 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/synologydsm/sensor.py", line 103, in run_setup
for variable in monitored_conditions
TypeError: 'NoneType' object is not iterable
Is this an indentation or formatting problem in the configuration.yaml file or something else?
Thanks,
Patrick