Fixing Preventing Sleep
If your monitor doesn't go to sleep on macOS, start the "Activity Monitor", select the "Energy" tab and look for "Yes" in the column "Preventing Sleep". This way you can find the culprit(s).
Today, in my case, it was both the "App Store" and a single tab in "Firefox". Closing both removed the "Yes" from the "Preventing Sleep" column.