Rename active_schedule to override_schedule and add EmgauwaNow
This commit is contained in:
parent
9326b66007
commit
473832f58a
10 changed files with 217 additions and 34 deletions
|
|
@ -47,7 +47,9 @@ impl From<&EmgauwaError> for String {
|
|||
EmgauwaError::Database(err) => String::from(err),
|
||||
EmgauwaError::Uid(_) => String::from("the uid is in a bad format"),
|
||||
EmgauwaError::Internal(_) => String::from("internal error"),
|
||||
EmgauwaError::Connection(uid) => format!("unable to connect to controller with uid: {}", uid),
|
||||
EmgauwaError::Connection(uid) => {
|
||||
format!("unable to connect to controller with uid: {}", uid)
|
||||
}
|
||||
EmgauwaError::Other(err) => format!("other error: {}", err),
|
||||
EmgauwaError::Hardware(err) => format!("hardware error: {}", err),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue