From 701f7e7ea2657202b1d3a6621e488e3b029e8d95 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Tue, 23 Jan 2024 14:10:36 +1100 Subject: [PATCH] dont flood logs with charge rate notification --- src/api_interface.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_interface.rs b/src/api_interface.rs index 98ecdcb..b74e8c2 100644 --- a/src/api_interface.rs +++ b/src/api_interface.rs @@ -393,7 +393,7 @@ impl TeslaInterface { .set_charging_amps(&self.vehicle.vin, &SetChargingAmps { charging_amps }) .await { - Ok(_) => log::warn!("Successfully set charge rate to {charging_amps}"), + Ok(_) => {} Err(e) => log::error!("Error setting charge rate: {e:?}"), }, }