v0.9.6
This commit is contained in:
@@ -674,6 +674,9 @@ async fn control_zones(state: &AppState) -> Result<()> {
|
||||
"quiet": updated_device.quiet,
|
||||
"sleep": updated_device.sleep,
|
||||
"night_mode": night_active,
|
||||
"schedule_id": active_schedule.map(|item| item.id.as_str()),
|
||||
"flow_id": active_schedule.and_then(|item| item.flow_id.as_deref()),
|
||||
"flow_node_id": active_schedule.and_then(|item| item.flow_node_id.as_deref()),
|
||||
}));
|
||||
}
|
||||
Ok(None) => {
|
||||
|
||||
Reference in New Issue
Block a user