Compare commits
5 Commits
18f9e20633
...
03dcd44e0e
| Author | SHA1 | Date | |
|---|---|---|---|
|
03dcd44e0e
|
|||
|
6c9d2c16c1
|
|||
|
2d9e3d26f2
|
|||
|
64c7d950c5
|
|||
|
5d342afb1f
|
@@ -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>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user