feat: Updates tracking state of sensors
This commit is contained in:
@@ -172,7 +172,7 @@ private extension Array where Element == TemperatureAndHumiditySensor {
|
||||
guard let index = firstIndex(where: { $0.id == sensor.id }) else {
|
||||
throw SensorNotFoundError()
|
||||
}
|
||||
self[index].needsProcessed = false
|
||||
self[index].setHasProcessed()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user