Skip to content

Commit

Permalink
Fix temperatures not being saved
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmahDean committed Nov 19, 2023
1 parent 498250d commit cc1d15f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/data/Methods/Hardware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ private static string GetAttributeName(byte id)
}

// TEMPERATURES
private static async Task<List<TempMeasurement>> GetTemps()
private static async Task GetTemps()
{
var taskName = "GetTemps";
await OpenTask(Region.Hardware, taskName);
Expand Down Expand Up @@ -1250,7 +1250,7 @@ where sensor.SensorType.Equals(SensorType.Temperature) && sensor.Value > 24 || s
}

await CloseTask(Region.Hardware, taskName);
return Temps;
Temperatures = Temps;
}

// BATTERIES
Expand Down

0 comments on commit cc1d15f

Please sign in to comment.