-
Notifications
You must be signed in to change notification settings - Fork 238
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
entities can not be a string. #44
Comments
Please elaborate, what do you mean it fails in the unused entities page? |
The console gives me this.
The code behind this
I also noticed while reading the code for this card that it supports both entities and entity. However most examples int he docs is using |
Steps to reproduce this is quite easy using the first simple example
The go to your-url.com/lovelace/hass-unused-entities, then check the console. |
The page will be totally blank. No unused entites will be shown at all. |
Okay, interesting, I wasn't aware that HA had such a check, I've personally never used the "unused entities" UI.
The only reason the I don't want to leave both Thanks for letting me know about this issue. |
I see, i rarely us it either, however now I did and found this. Unfortunately I think that a BC is necessary here. |
Great idea, I guess I could throw in a couple of check when setting the config, thanks! |
Please let me know if I can help you test this or anything else. Also, Im on the SHG discrod if you wanna get in touch quick. |
The docs state that the entities option can be string or list.
Using a string works in the UI, however it fails when using the "Unused entities page".
That script assumes that entities is a list, and not a string.
This will work in the ui, but not in the unused entities page
This will work everywhere
The text was updated successfully, but these errors were encountered: