|
@@ -110,8 +110,8 @@ pub fn sensors(tx: &Channel, config: &Config) {
|
|
|
|
|
|
let mut sensors: Vec<Box<Sensor>> = vec![
|
|
|
Box::new(TempSensor::new(zone)),
|
|
|
- Box::new(TimeSensor::new("%Y-%m-%d %H:%M", false)),
|
|
|
- Box::new(TimeSensor::new("UTC %H:%M", true))
|
|
|
+ Box::new(TimeSensor::new("UTC %H:%M", true)),
|
|
|
+ Box::new(TimeSensor::new("%Y-%m-%d %H:%M", false))
|
|
|
];
|
|
|
|
|
|
let bat = config.lookup("sensors.battery");
|