From be0c8f4f166ecdd4580ffb3d8d99c8c936e88d9f Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Tue, 8 Dec 2020 16:01:19 +0100 Subject: [PATCH] Prettier fix. --- modules/default/weather/weather.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/default/weather/weather.js b/modules/default/weather/weather.js index 33fc21fd..73ee0e16 100644 --- a/modules/default/weather/weather.js +++ b/modules/default/weather/weather.js @@ -12,17 +12,14 @@ Module.register("weather", { weatherProvider: "openweathermap", roundTemp: false, type: "current", // current, forecast, daily (equivalent to forecast), hourly (only with OpenWeatherMap /onecall endpoint) - lat: 0, lon: 0, location: false, locationID: false, units: config.units, useKmh: false, - tempUnits: config.units, windUnits: config.units, - updateInterval: 10 * 60 * 1000, // every 10 minutes animationSpeed: 1000, timeFormat: config.timeFormat, @@ -31,7 +28,6 @@ Module.register("weather", { showWindDirection: true, showWindDirectionAsArrow: false, useBeaufort: true, - useKmh: false, lang: config.language, showHumidity: false, showSun: true, @@ -43,20 +39,16 @@ Module.register("weather", { maxEntries: 5, fade: true, fadePoint: 0.25, // Start on 1/4th of the list. - initialLoadDelay: 0, // 0 seconds delay retryDelay: 2500, - apiKey: "", apiSecret: "", apiVersion: "2.5", apiBase: "https://api.openweathermap.org/data/", // TODO: this should not be part of the weather.js file, but should be contained in the openweatherprovider weatherEndpoint: "/weather", - appendLocationNameToHeader: true, calendarClass: "calendar", tableClass: "small", - onlyTemp: false, showPrecipitationAmount: false, colored: false,