feat(core): Observation gains to/lifetime_ms; identity includes to

This commit is contained in:
2026-10-18 01:41:24 -07:00
parent 4be8042994
commit 085b4d35da
7 changed files with 96 additions and 12 deletions
+4
View File
@@ -89,6 +89,8 @@ mod tests {
observed_at: Some(999),
topic: Topic::from_slice(b"door/3").unwrap(),
payload: Payload::from_slice(b"open").unwrap(),
to: None,
lifetime_ms: None,
},
}
}
@@ -103,6 +105,8 @@ mod tests {
observed_at: None,
topic: Topic::from_slice(b"t").unwrap(),
payload: Payload::from_slice(&[0u8; 1024]).unwrap(),
to: None,
lifetime_ms: None,
},
}
}