Sleep as Android not working

I set it at night and in the morning the app appears as if it wasn’t set!
Very annoying.

Do you activate sleep tracking? Do it manually, don’t rely on the automatic function.

No I set it manually and it was working fine when I went to sleep.