From e9938f240779d4969e5ed4ec95f41cbbd95755b2 Mon Sep 17 00:00:00 2001 From: Guillaume Veck Date: Mon, 24 Jun 2024 00:55:44 -0400 Subject: [PATCH] fix: default wind unit (#375) Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com> --- netatmo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netatmo.js b/netatmo.js index 8157fcd..d8bf289 100755 --- a/netatmo.js +++ b/netatmo.js @@ -286,7 +286,7 @@ Module.register('netatmo', { return value.toFixed(1)// + ' mm/h' case this.measurement.WIND_STRENGTH: case this.measurement.GUST_STRENGTH: - return value.toFixed(0)// + ' m/s' + return value.toFixed(0)// + ' km/h' case this.measurement.WIND_ANGLE: case this.measurement.GUST_ANGLE: return `${this.getDirection(value)} | ${value}`// + '°' @@ -318,7 +318,7 @@ Module.register('netatmo', { return 'mm/h' case this.measurement.WIND_STRENGTH: case this.measurement.GUST_STRENGTH: - return 'm/s' + return 'km/h' case this.measurement.WIND_ANGLE: case this.measurement.GUST_ANGLE: return '°'