After upgrading to iOS 17 (currently on 17.5), I've noticed that when my scheduled sleep/wake alarm goes off, the Sleep Focus mode doesn't automatically turn off. My Sleep Focus schedule in the Health app is set to the same time, but it seems this feature is broken. I'm using an iPhone 15 Pro Max. I've come across hundreds of similar issues reported in iOS 16, but I only started experiencing it after getting my new iPhone. Anyone else facing this problem or have a solution?