From 43b33cb6de8673406e2a3df6e0c9fc2a7bc4c806 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Tue, 8 Dec 2020 15:42:01 +0100 Subject: [PATCH] Fix prettier issue. --- modules/default/weather/weatherobject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/weather/weatherobject.js b/modules/default/weather/weatherobject.js index 602dcd4d..3b145b3d 100755 --- a/modules/default/weather/weatherobject.js +++ b/modules/default/weather/weatherobject.js @@ -81,7 +81,7 @@ class WeatherObject { const windInKmh = this.windUnits === "imperial" ? this.windSpeed * 1.609344 : (this.windSpeed * 60 * 60) / 1000; return windInKmh; } - + nextSunAction() { return moment().isBetween(this.sunrise, this.sunset) ? "sunset" : "sunrise"; }