Add JSDoc description

This commit is contained in:
eouia
2022-04-26 17:37:23 +02:00
parent 0f39b7733c
commit 1d90c5e1fe
2 changed files with 6 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ Module.register("weather", {
this.sendNotification("CURRENTWEATHER_TYPE", { type: this.weatherProvider.currentWeather().weatherType.replace("-", "_") });
}
let notificationPayload = {
const notificationPayload = {
currentWeather: this.weatherProvider?.currentWeatherObject?.simpleClone() ?? null,
forecastArray: this.weatherProvider?.weatherForecastArray?.map((ar) => ar.simpleClone()) ?? [],
hourlyArray: this.weatherProvider?.weatherHourlyArray?.map((ar) => ar.simpleClone()) ?? [],