Compare commits

..

5 Commits

Author SHA1 Message Date
03dcd44e0e Removed old notification system
All checks were successful
Build and deploy / build (push) Successful in 8m50s
Build and deploy / Deploy container (push) Successful in 39s
2025-08-31 03:55:08 +02:00
6c9d2c16c1 Converted presence notification into lua callback 2025-08-31 03:55:08 +02:00
2d9e3d26f2 Send laundy notification from lua 2025-08-31 03:55:08 +02:00
64c7d950c5 Make it possible to send notifications from lua 2025-08-31 03:55:07 +02:00
5d342afb1f Converted macro to derive macro 2025-08-31 03:54:20 +02:00

View File

@@ -62,6 +62,7 @@ struct State {
} }
#[derive(Debug, Clone, LuaDevice)] #[derive(Debug, Clone, LuaDevice)]
#[traits(OpenClose)]
pub struct ContactSensor { pub struct ContactSensor {
config: Config, config: Config,
state: Arc<RwLock<State>>, state: Arc<RwLock<State>>,