From 7d5a94f4bb78f7e51d5fd2e078079911f0a7d988 Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Sat, 24 Aug 2024 23:19:17 +0200 Subject: [PATCH] add 3 new sensors --- src/main.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main.rs b/src/main.rs index c6ea9a5..dc04261 100644 --- a/src/main.rs +++ b/src/main.rs @@ -90,6 +90,21 @@ fn aggregate_values( ) -> Result<(), Box> { 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(),