diff --git a/src/sensors/mod.rs b/src/sensors/mod.rs index 8637b13..d92c8c7 100644 --- a/src/sensors/mod.rs +++ b/src/sensors/mod.rs @@ -47,6 +47,8 @@ pub struct SensorMetadata { pub location: Option, #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub lastchange: Option, } /// Common information describing any sensor which requires a specified location.