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

Lovelace Dashboard #19

Open
mcfarlde opened this issue Apr 19, 2020 · 5 comments
Open

Lovelace Dashboard #19

mcfarlde opened this issue Apr 19, 2020 · 5 comments

Comments

@mcfarlde
Copy link

I'd like to get this working. I never moved to full yaml mode as I like being able to tweak via the UI. I cannot add this to the Raw config, it tells me to add via lovelace Dashboard config as a resource. I do that adding. "/local/zha-network-visualization-card/zha-network-visualization-card.js" as a javascript module. I then make a new view as panel and try to add a custom card with "type: zha-network-visualization-card.js" and get "Error Unknown Type..." I think the problem is with the lovelace dashboard resource, but cannot determine how to fix.

@LEJOUI
Copy link

LEJOUI commented Apr 20, 2020

Did you install it with Home Assistant Community Store, HACS? Also make sure it’s
type: zha-network-visualization-card

what you put in your Lovelace card. Ditch the .js at the end.

@maxi1134
Copy link

I added through HACS and have the same issue:
I tried ditching the .js at the end of the path too.

image

@mcfarlde
Copy link
Author

I did remove everything and then try HACS with same results. I then follwed JonG's instructions at https://community.home-assistant.io/t/zha-network-map-question/166230/3 but using the new lovelace dashboard resources and it worked once I removed the single quotes when adding the manual panel to a view. I then found that navigation in home Assistant was greatly affected. Developer Tools and Supervisor took ages to open som I removed everything again. I did see the visualization of my zigbee network which was cool but not very useful for anything. Thanks for this, I'll try again if you add functionality to it.

@LEJOUI
Copy link

LEJOUI commented Apr 21, 2020

I added through HACS and have the same issue:
I tried ditching the .js at the end of the path too.

image

This is the code for the ZHA network card and is another component. If you want that to work you should install the ZHA network card and not the zha network card visualization card. If you want to have the map card you should install the zha network visualization card and add it in Lovelace with the code that can be found in the readme of this repo.

@LEJOUI
Copy link

LEJOUI commented Apr 21, 2020

I did remove everything and then try HACS with same results. I then follwed JonG's instructions at https://community.home-assistant.io/t/zha-network-map-question/166230/3 but using the new lovelace dashboard resources and it worked once I removed the single quotes when adding the manual panel to a view. I then found that navigation in home Assistant was greatly affected. Developer Tools and Supervisor took ages to open som I removed everything again. I did see the visualization of my zigbee network which was cool but not very useful for anything. Thanks for this, I'll try again if you add functionality to it.

Glad you got it working. In #15 they also have the same issue. Having the same thing there. Only refreshing the browser is the solution for now.

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

3 participants