Fix bugs and add controller action for controller ws

This commit is contained in:
Tobias Reisinger 2023-12-05 16:11:40 +01:00
commit 6f8d63e7be
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
11 changed files with 177 additions and 56 deletions

View file

@ -18,6 +18,8 @@ pub type Weekday = i64;
#[rtype(result = "Result<(), EmgauwaError>")]
pub enum ControllerWsAction {
Register(Controller),
Disconnect,
Schedules(Vec<DbSchedule>),
Relays(Vec<Relay>),
Controller(Controller),
}