ntfy notifications are now send through a channel, allowing notifications to be send from other places in the program

This commit is contained in:
2023-01-24 19:00:38 +01:00
parent 6c8b73f60f
commit 18bca5abf4
5 changed files with 91 additions and 60 deletions

View File

@@ -87,7 +87,7 @@ pub struct LightSensorConfig {
pub max: isize,
}
#[derive(Debug, Deserialize)]
#[derive(Debug, Clone, Deserialize)]
pub struct Flags {
pub presence: isize,
pub darkness: isize,