abmantis / ozw-network-visualization-card

Lovelace custom card for visualizing the ZWave network with the OpenZWave (beta) integration.
30 stars 3 forks source link

exception thrown when map is loaded #1

Closed wzbfyb closed 3 years ago

wzbfyb commented 3 years ago

Hi,

I downloaded the card js yesterday and manually put it into the config/www folder of my HA Install (0.114.2). unfortunately it throws this error:

home-assistant | 2020-08-20 09:29:57 ERROR (MainThread) [frontend.js.latest.202008110] http://smarthomeserver:8123/local/ozw-network-visualization-card.js:6:0 SyntaxError: expected expression, got '<'

abmantis commented 3 years ago

@wzbfyb Can you show me a print of the file on your server? I suspect you may have copied some extra chars or something like that.

wzbfyb commented 3 years ago

here it is!

thanks

Am 20.08.2020 um 17:45 schrieb Abílio Costa <notifications@github.com mailto:notifications@github.com>:

@wzbfyb https://github.com/wzbfyb Can you show me a print of the file on your server? I suspect you may have copied some extra chars or something like that.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abmantis/ozw-network-visualization-card/issues/1#issuecomment-677745015, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANT4DUJVQP7JAKO74M3UBKTSBVAKBANCNFSM4QFX5CBA.

abmantis commented 3 years ago

@wzbfyb sorry, but the image is missing

wzbfyb commented 3 years ago

strange, lets try again Bildschirmfoto 2020-08-20 um 19 05 07 PM Bildschirmfoto 2020-08-20 um 19 05 14 PM Bildschirmfoto 2020-08-20 um 19 05 18 PM

abmantis commented 3 years ago

It looks fine. Have you had the wrong file there before? If so, HA may have cached it. You can try rebooting HA and see if it fixes it. Also, do CTRL+F5 to refresh.

wzbfyb commented 3 years ago

thanks. rebooting the docker container and clearing the cache helped. thanks a lot!

Am 20.08.2020 um 23:07 schrieb Abílio Costa notifications@github.com:

@wzbfyb https://github.com/wzbfyb sorry, but the image is missing

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abmantis/ozw-network-visualization-card/issues/1#issuecomment-677905105, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANT4DUP6XYH3MUECVXETDYTSBWGANANCNFSM4QFX5CBA.

abmantis commented 3 years ago

Great!