Fixed visibility of device configs

This commit is contained in:
2024-04-29 03:03:42 +02:00
parent 44a40d4dfa
commit 2a3b14267b
13 changed files with 47 additions and 47 deletions

View File

@@ -13,15 +13,15 @@ use crate::mqtt::WrappedAsyncClient;
#[derive(Debug, Clone, LuaDeviceConfig)]
pub struct AudioSetupConfig {
identifier: String,
pub identifier: String,
#[device_config(flatten)]
mqtt: MqttDeviceConfig,
pub mqtt: MqttDeviceConfig,
#[device_config(from_lua)]
mixer: WrappedDevice,
pub mixer: WrappedDevice,
#[device_config(from_lua)]
speakers: WrappedDevice,
pub speakers: WrappedDevice,
#[device_config(from_lua)]
client: WrappedAsyncClient,
pub client: WrappedAsyncClient,
}
#[derive(Debug, LuaDevice)]