You aren't wrong, but there is some value in a more complex control system. For example, the fridge uses some sort of hysteresis to prevent the compressor from cycling on and off too quickly. Let's say it runs for 15 minutes every hour. You ideally want it to schedule that last 15 minute run at the latest time possible when enough sunlight is still available to run it. This shortens the amount of time that the fridge needs to be able to stay cold without power.