azuwis / zigbee2mqtt-networkmap

Home Assistant Custom Card to show Zigbee2mqtt network map
261 stars 18 forks source link

Custom element doesn't exist: zigbee2mqtt-networkmap. #26

Closed ThePatricide closed 4 years ago

ThePatricide commented 4 years ago

Describe the bug The network map gives an error: Custom element doesn't exist: zigbee2mqtt-networkmap. Although it is still present in the custom element folder.

I just updated Z2MQTT and HASS and HACS. So it can be anything unfortunately.

I do also have a HACS error (from HASS log): ERROR (MainThread) [frontend.js.latest.202006032] https://hass.schuit.ga/hacsfiles/frontend-202006071141.js:1:0 NotSupportedError: CustomElementRegistry.define: 'hacs-single-page-layout' has already been defined as a custom element

Home Assistant version 0.111

Zigbee2mqtt version 1.14.0

OS and browser version Latest Firefox on Windows 10.

Error message on browser Custom element doesn't exist: zigbee2mqtt-networkmap.

css: | :host { --zigbee2mqtt-networkmap-node-color: rgba(18, 120, 98, .7); --zigbee2mqtt-networkmap-node-fill-color: #dcfaf3; --zigbee2mqtt-networkmap-node-pinned-color: rgba(190, 56, 93, .6); --zigbee2mqtt-networkmap-link-color: rgba(18, 120, 98, .5); --zigbee2mqtt-networkmap-hover-color: #be385d; --zigbee2mqtt-networkmap-link-selected-color: rgba(202, 164, 85, .6); --zigbee2mqtt-networkmap-label-color: #127862; --zigbee2mqtt-networkmap-arrow-color: rgba(18, 120, 98, 0.7); --zigbee2mqtt-networkmap-node-coordinator-color: rgba(224, 78, 93, .7); --zigbee2mqtt-networkmap-node-router-color: rgba(0, 165, 255, .7); } entity: sensor.zigbee2mqtt_networkmap font_size: 12 force: 6000 height: 750 link_width: 1 mqtt_base_topic: zigbee2mqtt node_size: 13 type: 'custom:zigbee2mqtt-networkmap'

ThePatricide commented 4 years ago

Has been fixed with a reinstall. HACS showed an error that the Lovelace entity was not loaded, also not after a restart of HASS.