I ran into an issue where I had apostrophes in a few of my entry names. This caused javascript errors when loading source.js because the python script does not properly escape the string when writing source.js to file. I am not very familiar with python, but i have provided a little hack to fix this issues. I;m sure there is probably a proper module to escape the string properly, but this works for me.
I changed line 32 of zigbee2mqtt_networkmap.py to this:
I ran into an issue where I had apostrophes in a few of my entry names. This caused javascript errors when loading source.js because the python script does not properly escape the string when writing source.js to file. I am not very familiar with python, but i have provided a little hack to fix this issues. I;m sure there is probably a proper module to escape the string properly, but this works for me.
I changed line 32 of zigbee2mqtt_networkmap.py to this: