@Rareapple3 gave the best advice above.
An easy solution is to leave it on continuous recording and just set up a rule to turn the camera on and turn it off during certain hours.
From the home screen, select the plus sign
Choose Add Rule
Select Schedule
Choose a start time and end time when you want it to record every day
Add Action (at the bottom)
Select the camera
Select Turn on the camera and save it
Now it will only turn on camera and record during those times.
If sleep occurs at different times of the day, there is no way for the camera to know when a person is asleep or awake, so what you can do is set up a “Shortcut” to turn the camera on and one to turn it off. Then just remember to click the shortcut button when you go to bed, and click the off short cut when you wake up.
You could also get another device to use this way. For example, I have some contact sensors from Wyze and I have it turn on lights when the sensor is “open” and turn them off when it is “closed” and a person could instead set it to do the same thing with a camera. Turn on when you open the sensor and turn the camera off when you close it in the morning. Then it will only record during those times.