We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f3a36 commit 51b4b25Copy full SHA for 51b4b25
src/sensors/mod.rs
@@ -49,6 +49,8 @@ pub struct SensorMetadata {
49
pub location: Option<String>,
50
#[serde(skip_serializing_if = "Option::is_none")]
51
pub description: Option<String>,
52
+ #[serde(skip_serializing_if = "Option::is_none")]
53
+ pub lastchange: Option<u64>,
54
}
55
56
/// Common information describing any sensor which requires a specified location.
@@ -59,6 +61,8 @@ pub struct SensorMetadataWithLocation {
59
61
pub location: String,
60
62
63
64
65
66
67
68
/// Describes an error occurring when building a sensor from a `SensorTemplate`.
0 commit comments