diff --git a/src/bin/hms-mqtt-publish/main.rs b/src/bin/hms-mqtt-publish/main.rs index 54703b01..22c3a7ca 100644 --- a/src/bin/hms-mqtt-publish/main.rs +++ b/src/bin/hms-mqtt-publish/main.rs @@ -84,7 +84,12 @@ fn main() { output_channels.push(Box::new(SimpleMqtt::::new(&config))); } - if config.smiles_cooperation { + if config + .smiles_cooperation + .is_some_and(|value| value) { + info!("S-Miles cloud cooperative mode enabled"); + } + { info!("S-Miles cloud cooperative mode enabled"); }