Closed shamasis closed 4 years ago
Thanks for the detailed report. The log object is not existant there after a refactoring. You are the winner/first one to experience an unkown dark sky weather category :D . I will fix this asap.
Same here,
There's another workaround to keep your homebridge working. Change your station configuration languages to English:
"language": "en"
I had it in Spanish. That change worked for me.
Cheers
Fixed in v3.1.2
First, thanks for this amazing home bridge plugin. ❤️
Since today afternoon, my homebridge was unable to start because the plugin was erring out at the following line number because
this.log
was undefined and as suchthis.log.warn
was resulting in error.https://github.com/naofireblade/homebridge-weather-plus/blob/d34e5309bec961e66d3dd739bfa2674b5735e4fd/util/converter.js#L58
I did not have the opportunity to debug the reason why because I had to get homebridge up and running asap.
this.log && this.log.warn
is what I temporarily added to bypass and get up and running.Hope this helps. (I know there is not much to go on)