Return real relay state to devices

This commit is contained in:
2024-09-20 22:43:16 +02:00
parent ae366a84a2
commit f0bac090e4
2 changed files with 7 additions and 4 deletions

View File

@ -32,7 +32,7 @@ pub struct RelayState {
}
impl RelayState {
fn is_on(&self) -> bool {
pub fn is_on(&self) -> bool {
self.on
}