add 3 new sensors

This commit is contained in:
Romulus21 committed 2024-08-24 23:19:17 +02:00
1 parent ca9132e9ee
commit 7d5a94f4bb
1 file changed
+15
+15
View File
@@ -90,6 +90,21 @@ fn aggregate_values(
) -> Result<(), Box<dyn std::error::Error>> {
let average_duration = 15;
let sensors = [
Sensor::new(
"maison".to_string(),
"bureau".to_string(),
"temperature".to_string(),
),
Sensor::new(
"maison".to_string(),
"bureau".to_string(),
"humidite".to_string(),
),
Sensor::new(
"maison".to_string(),
"bureau".to_string(),
"pression".to_string(),
),
Sensor::new(
"maison".to_string(),
"bureau".to_string(),