Switched from toml to yaml for configuration
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-11-05 22:41:48 +01:00
parent b12b76bd50
commit dd4be4a2ee
14 changed files with 346 additions and 325 deletions

View File

@@ -50,7 +50,7 @@ async fn app() -> anyhow::Result<()> {
info!("Starting automation_rs...");
let config_filename =
std::env::var("AUTOMATION_CONFIG").unwrap_or("./config/config.toml".into());
std::env::var("AUTOMATION_CONFIG").unwrap_or("./config/config.yml".into());
let config = Config::parse_file(&config_filename)?;
// Create a mqtt client