Feature: Schedule devices turning on/off
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-17 00:01:13 +01:00
parent 0154d19b71
commit db17b68e90
9 changed files with 144 additions and 3 deletions

View File

@@ -64,6 +64,8 @@ async fn app() -> anyhow::Result<()> {
device_manager.create(&id, device_config).await?;
}
device_manager.add_schedule(config.schedule).await;
let event_channel = device_manager.event_channel();
// Create and add the presence system