kiwi-cam / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
304 stars 96 forks source link

TypeError: log is not a function #595

Closed banboobee closed 1 year ago

banboobee commented 1 year ago

Dear kiwi-cam

I believe following exception is raising at restarting for the users running the versions prior to the latest.

TypeError: log is not a function

To deal with the problem, in the following line,

https://github.com/kiwi-cam/homebridge-broadlink-rm/blob/d89f6e7b82e60d76cbd36bd03b8fb8a6cd1a8a18/platform.js#L48

argument 'log' needs to be passed to checkForUpdates(). I think.

If this is my misunderstanding, sorry for the bothering.

Itay1787 commented 1 year ago

I just updated to the latest version of the plugin and everything working again.

banboobee commented 1 year ago

606