Fixed visibility of device configs
All checks were successful
Build and deploy automation_rs / Build automation_rs (push) Successful in 5m14s
Build and deploy automation_rs / Build Docker image (push) Successful in 51s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped

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

View File

@@ -17,9 +17,9 @@ pub struct PresenceConfig {
#[device_config(flatten)]
pub mqtt: MqttDeviceConfig,
#[device_config(from_lua, rename("event_channel"), with(|ec: EventChannel| ec.get_tx()))]
tx: event::Sender,
pub tx: event::Sender,
#[device_config(from_lua)]
client: WrappedAsyncClient,
pub client: WrappedAsyncClient,
}
pub const DEFAULT_PRESENCE: bool = false;