Prettier fix.

This commit is contained in:
Michael Teeuw 2020-12-08 16:01:19 +01:00
parent 46fd2de315
commit be0c8f4f16

View File

@ -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,