mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Adds new config option to show weather forecast for every X hour (default value is 1 which reflects the current behaviour) Also adds tests for hourly forecast Fixes #2996 Co-authored-by: veeck <michael@veeck.de>
27 lines
483 B
JavaScript
27 lines
483 B
JavaScript
/* MagicMirror² Test config hourly weather options
|
|
*
|
|
* By rejas https://github.com/rejas
|
|
* MIT Licensed.
|
|
*/
|
|
let config = {
|
|
timeFormat: 12,
|
|
|
|
modules: [
|
|
{
|
|
module: "weather",
|
|
position: "bottom_bar",
|
|
config: {
|
|
type: "hourly",
|
|
location: "Berlin",
|
|
mockData: '"#####WEATHERDATA#####"',
|
|
hourlyForecastIncrements: 2
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|