rgruebel / ha_zigbee2mqtt_networkmap

Custom Component for Homeassistant to show zigbee2mqtt Networkmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileNotFoundError, source.js, Written to the wrong folder??

MarsWarrior opened this issue · comments

commented

Seems like source.js is written to the wrong folder??

Traceback (most recent call last):
  File "/config/custom_components/zigbee2mqtt_networkmap/__init__.py", line 45, in message_received
    'www', 'zigbee2mqtt_networkmap', 'source.js'), "w")
FileNotFoundError: [Errno 2] No such file or directory: '/config/www/zigbee2mqtt_networkmap/source.js'

the problem is on line 16 that you copy to the folder / www / community / zigbee2mqtt_networkmap and then on line 45 it does not refer to community

commented

So it seams that a change made yesterday (line 16) should have changed line 45 too??

Thank you