From cc1d15f1863c2b1bc92fe3a7947eda3ce50a96f7 Mon Sep 17 00:00:00 2001 From: JimmahDean Date: Sat, 18 Nov 2023 18:59:38 -0700 Subject: [PATCH] Fix temperatures not being saved --- client/data/Methods/Hardware.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/data/Methods/Hardware.cs b/client/data/Methods/Hardware.cs index 8f98c51..f332593 100644 --- a/client/data/Methods/Hardware.cs +++ b/client/data/Methods/Hardware.cs @@ -1198,7 +1198,7 @@ private static string GetAttributeName(byte id) } // TEMPERATURES - private static async Task> GetTemps() + private static async Task GetTemps() { var taskName = "GetTemps"; await OpenTask(Region.Hardware, taskName); @@ -1250,7 +1250,7 @@ where sensor.SensorType.Equals(SensorType.Temperature) && sensor.Value > 24 || s } await CloseTask(Region.Hardware, taskName); - return Temps; + Temperatures = Temps; } // BATTERIES