IDmedia / hass-unraid

This Docker container parses and forwards all WebSocket messages from your Unraid server to Home Assistant using the MQTT protocol
101 stars 4 forks source link

TypeError: 'NoneType' object is not iterable #20

Open K3vb3rt opened 22 hours ago

K3vb3rt commented 22 hours ago

Hi, would like to use this integration to replace Glances. But everytime I set up, I get "TypeError: 'NoneType' object is not iterable" The config.yaml is in the mapped folder /mnt/user/appdata/hass-unraid/data

My compose:

services: hass-unraid: container_name: hass-unraid network_mode: bridge restart: always environment:

My config.yaml:

unraid:

mqtt: host: 192.168.1.144 port: 1883 username: mqtt-user password: my_supersecret_password

Can anyone help me to get this running?

K3vb3rt commented 22 hours ago

Add Log:

TypeError: 'NoneType' object is not iterable Traceback (most recent call last): File "/app/main.py", line 284, in for unraid_config in config.get('unraid'): TypeError: 'NoneType' object is not iterable Traceback (most recent call last): File "/app/main.py", line 284, in for unraid_config in config.get('unraid'): TypeError: 'NoneType' object is not iterable