Small refactor related to device creation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-14 22:35:15 +02:00
parent 1a9d99fed9
commit 0ad42c029e
3 changed files with 28 additions and 49 deletions

View File

@@ -19,8 +19,8 @@ use super::{As, Device};
pub struct AudioSetupConfig {
#[serde(flatten)]
mqtt: MqttDeviceConfig,
mixer: Box<config::Device>,
speakers: Box<config::Device>,
mixer: Box<config::DeviceConfig>,
speakers: Box<config::DeviceConfig>,
}
// TODO: We need a better way to store the children devices