Renamed mqtt system to make it more clear that it has to do with mqtt

This commit is contained in:
2022-12-29 00:50:16 +01:00
parent 924b3cf862
commit 458c5e25a3
7 changed files with 46 additions and 42 deletions

View File

@@ -8,7 +8,7 @@ use crate::devices::{DeviceBox, IkeaOutlet, WakeOnLAN};
#[derive(Debug, Deserialize)]
pub struct Config {
pub mqtt: MQTTConfig,
pub mqtt: MqttConfig,
pub fullfillment: FullfillmentConfig,
pub presence: MqttDeviceConfig,
#[serde(default)]
@@ -16,7 +16,7 @@ pub struct Config {
}
#[derive(Debug, Deserialize)]
pub struct MQTTConfig {
pub struct MqttConfig {
pub host: String,
pub port: u16,
pub username: String,