Improved the internals of the LuaDeviceConfig macro and improve the
usability of the macro
This commit is contained in:
@@ -15,9 +15,9 @@ use crate::messages::{RemoteAction, RemoteMessage};
|
||||
pub struct AudioSetupConfig {
|
||||
#[device_config(flatten)]
|
||||
mqtt: MqttDeviceConfig,
|
||||
#[device_config(user_data)]
|
||||
#[device_config(from_lua)]
|
||||
mixer: WrappedDevice,
|
||||
#[device_config(user_data)]
|
||||
#[device_config(from_lua)]
|
||||
speakers: WrappedDevice,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user