Hi Team,
may there a specialist for the standard weather module who can lead me in right direction…
It was disappeared for a while but re-introduces for unknown reasons:
The weather module displays a “standard” header (Location name) despite my personal config.js setting (see below).
I do have two instances of the module - as many others I guess - one current (classes: weather_current), one forecast (classes: weather_forecast).
The error is neither consistent nor reproducable:
Sometimes one of the instances shows a header, sometimes both, sometimes none of them.
The view is inconsistent, too for (HDMI attached) monitor and browser view!
And while playing around with custom CSS for this module I’ve identified that setting
.weather_current .module-header
{
border-bottom-width: 3;
}
in custom.css makes the module disappearing completely.
The weather module configuration in config.js is as follows:
// Wetter aktuell für Müllenborn
{
module: "weather",
disabled: false,
position: "top_right",
header: "",
classes: "weather_current",
config: {
weatherProvider: "openmeteo",
type: "current",
lat: 50.24127,
lon: 6.61174403,
onlyTemp: true, // zeigt nur die temp und icon, kein wind kein gar nix :-)
showSun: false,
appendLocationToHeader: false,
showFeelsLike: false,
}
},
// Wettervorhersage -
{
module: "weather",
position: "top_right",
disabled: false,
header: "",
classes: "weather_forecast",
config: {
weatherProvider: "openmeteo",
type: "forecast",
lat: 50.24127,
lon: 6.6174403,
appendLocationToHeader: false,
}
},
currently I have “solved” this with two entries in custom.css:
.weather_current .module-header
{
color: black;
border-bottom-width: 0;
border-bottom-color: black;
}
.weather_forecast .module-header
{
color: black;
border-bottom-width: 0;
border-bottom-color: black;
}
But this is kind of unsatisfactory …
I guess there is a bug in the module - what do you think?
Thanks and regards,
Ralf