Skip to content

Commit

Permalink
fix eslint findings
Browse files Browse the repository at this point in the history
  • Loading branch information
CFenner committed Jun 24, 2024
1 parent 2d7b506 commit dfdb9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netatmo.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Module.register('netatmo', {
}, this.config.updateInterval * 60 * 1000 + this.config.initialDelay * 1000)
},
updateUnitOfMeasurements (userPreferences) {
if (this.config.unitOfMeasurementWind === ''){
if (this.config.unitOfMeasurementWind === '') {
this.config.unitOfMeasurementWind = this.convertNetatmoWindUnit(userPreferences.windunit)
console.log('Using user preferred unit of measurement for wind values %o', this.config.unitOfMeasurementWind)
}
Expand Down

0 comments on commit dfdb9e1

Please sign in to comment.