When you try to start device activity monitoring like in the demo, it fails with an invalidSchedule error, even with the exact same schedule that was shown in the demo.
let schedule = DeviceActivitySchedule(intervalStart: DateComponents(hour:0, minute: 0), intervalEnd: DateComponents(hour:23, minute: 59), repeats: true)
let center = DeviceActivityCenter()
do {
try center.startMonitoring(.daily, during: schedule)
} catch(let error) {
print("\(error)")
}