Closed sehraf closed 4 years ago
With Home Assistant 0.107.1, custom elements should be added differently.
Goto Configuration > Lovelace Dashboards > Resources
Add a new entry, specify /local/zigbee2mqtt-networkmap.js?v=0.6.0
as the url and you should be good to go.
You can also remove the following lines from ui-lovelace.yaml if you added them before
resources:
- url: /local/zigbee2mqtt-networkmap.js?v=0.6.0
type: module
Thanks! Now it's working :+1:
With Home Assistant 0.107.1, custom elements should be added differently.
Goto Configuration > Lovelace Dashboards > Resources Add a new entry, specify
/local/zigbee2mqtt-networkmap.js?v=0.6.0
as the url and you should be good to go.@azuwis Please add this to the documentation.
Describe the bug Since the recent HA update allows to define multiple lovelace dashboards, i tried to add this beautiful map to my HA (manual setup). When opening the lovelace card i get a red page with the following error
Home Assistant version Home Assistant 0.107.1
Zigbee2mqtt version 1.12.0
OS and browser version Archlinux + Chromium
Error message on browser No error in browser console
I do see
..../local/zigbee2mqtt-networkmap.js
being successfully requested (HTTP 200).State attributes of
sensor.zigbee2mqtt_networkmap
On Home Assistant, go toMenu
->Developer tools
->STATES
->sensor.zigbee2mqtt_networkmap
-> Click the link and scroll up, findState attributes (JSON, optional)
,After manually triggering a scan:
Home Assistant log none
Additional context My lovelace dashboard setup looks like this (configuration.yaml)
The rest (
sensor
in configuration.yaml) and zigbee2mqtt-networkmap.yaml are as described here https://github.com/azuwis/zigbee2mqtt-networkmap#backend-setup / https://github.com/azuwis/zigbee2mqtt-networkmap#frontend-setup-manual (I've put the content fromui-lovelace.yaml
inzigbee2mqtt-networkmap.yaml
assuming this is the right thing to do - here might be the error, though)Zigbee2mqtt base topic is unchanged.
Going to
http://your-home-assistant-domain/local/zigbee2mqtt-networkmap.js
shows the content of zigbee2mqtt-networkmap.js