Return real relay state to devices
This commit is contained in:
@ -32,7 +32,7 @@ pub struct RelayState {
|
||||
}
|
||||
|
||||
impl RelayState {
|
||||
fn is_on(&self) -> bool {
|
||||
pub fn is_on(&self) -> bool {
|
||||
self.on
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user