mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Record last time an environmental device reported
This commit is contained in:
@@ -77,6 +77,8 @@ public class MessageHandler : IHostedService
|
||||
|
||||
await _database.StoreMessageAsync(message);
|
||||
|
||||
await _database.SetDeviceLastUpdatedAsync(message.Name, message.Timestamp);
|
||||
|
||||
await SendMessage(message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user