grzegorz914 / homebridge-lgwebos-tv

Homebridge plugin for LG WebOS TV, publish as independent external platform accessory.
MIT License
135 stars 15 forks source link

Plugin and child bridge won't start after update to 2.17.0 #203

Closed psycoticninja closed 8 months ago

psycoticninja commented 8 months ago

After updating to 2.17.0 the child bridge is in a restart loop due to the following log message:

/var/lib/homebridge/node_modules/homebridge-lgwebos-tv/src/lgwebosdevice.js:427
                        log(`Device: ${host} ${deviceName}, ${message}`);
                        ^
ReferenceError: log is not defined
    at RestFul.<anonymous> (/var/lib/homebridge/node_modules/homebridge-lgwebos-tv/src/lgwebosdevice.js:427:25)
    at RestFul.emit (node:events:518:28)
    at Server.<anonymous> (/var/lib/homebridge/node_modules/homebridge-lgwebos-tv/src/restful.js:42:22)
    at Object.onceWrapper (node:events:632:28)
    at Server.emit (node:events:530:35)
    at emitListeningNT (node:net:1906:10)
    at processTicksAndRejections (node:internal/process/task_queues:81:21)

Rolling back to 2.16.31 resolves this