From d37226799561cfec62ba8f49256a47170cfddb57 Mon Sep 17 00:00:00 2001 From: Paul Stella II Date: Fri, 25 Jun 2021 14:23:59 -0400 Subject: [PATCH] Add round degree option (#13) * Add round degree option * Simplify temperature ternary for rounding --- .../com.jk.weather.sdPlugin/pi/main_pi.html | 12 +++++++ Sources/com.jk.weather.sdPlugin/pi/main_pi.js | 2 ++ .../com.jk.weather.sdPlugin/plugin/main.js | 32 +++++++++++++------ 3 files changed, 36 insertions(+), 10 deletions(-) diff --git a/Sources/com.jk.weather.sdPlugin/pi/main_pi.html b/Sources/com.jk.weather.sdPlugin/pi/main_pi.html index 22da6e4..7819fe3 100644 --- a/Sources/com.jk.weather.sdPlugin/pi/main_pi.html +++ b/Sources/com.jk.weather.sdPlugin/pi/main_pi.html @@ -95,6 +95,18 @@ +
+
Round to closest degree
+ +
+