diff --git a/automation_devices/src/ikea_remote.rs b/automation_devices/src/ikea_remote.rs index 1700178..c6071a5 100644 --- a/automation_devices/src/ikea_remote.rs +++ b/automation_devices/src/ikea_remote.rs @@ -23,7 +23,7 @@ pub struct Config { #[device_config(from_lua)] pub client: WrappedAsyncClient, - #[device_config(from_lua)] + #[device_config(from_lua, default)] pub callback: ActionCallback, #[device_config(from_lua, default)] pub battery_callback: ActionCallback,