mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Add DeviceChanged and DeviceBackOnline event types
Record what happened on each known-device sighting instead of only "seen": a baseline DeviceSeen (history heartbeat, no notification) plus DeviceChanged and DeviceBackOnline events, each deduplicated independently so a recent routine sighting no longer suppresses a genuine change or return notification. The frontend chart now trusts the event type for its marker and tooltip rather than comparing each event's snapshot against the device's current state. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
27cb2e1d62
commit
9efe84c099
@@ -33,6 +33,8 @@ void main() {
|
||||
|
||||
expect(parsed('NewDevice'), DeviceEventType.newDevice);
|
||||
expect(parsed('DeviceSeen'), DeviceEventType.deviceSeen);
|
||||
expect(parsed('DeviceChanged'), DeviceEventType.deviceChanged);
|
||||
expect(parsed('DeviceBackOnline'), DeviceEventType.deviceBackOnline);
|
||||
expect(parsed('something_unexpected'), DeviceEventType.deviceSeen);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user