Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object is not iterable #20

Open
K3vb3rt opened this issue Oct 11, 2024 · 5 comments
Open

TypeError: 'NoneType' object is not iterable #20

K3vb3rt opened this issue Oct 11, 2024 · 5 comments

Comments

@K3vb3rt
Copy link

K3vb3rt commented Oct 11, 2024

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:
- TZ=Europe/Berlin
volumes:
- '/mnt/user/appdata/hass-unraid/data:/data'
labels:
- 'net.unraid.docker.icon=/mnt/user/docker/docker-icons/data/hass-unraid.png'
image: ghcr.io/idmedia/hass-unraid:latest

My config.yaml:

unraid:

  • name: Hive
    host: 192.168.1.100
    port: 80
    ssl: False
    username: root
    password: my_supersecret_password
    scan_interval: 30

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

Can anyone help me to get this running?

@K3vb3rt
Copy link
Author

K3vb3rt commented Oct 11, 2024

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

@Flobenki
Copy link

Had the same Problem, for me the fix was to move the config.yaml from /hass-unraid/data/ directly in the /hass-unraid/ directory

@tony77682
Copy link

does not work for me, even in the /hass-unraid folder, the error is still there

@K3vb3rt
Copy link
Author

K3vb3rt commented Oct 28, 2024

+1 for me. Still does not work.

@0xvisualiris
Copy link

+1 Can't get it to work :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants