At first glance, not so easy but eventually a complete program that allows two temperature ranges (eco and comfort) over time slots with the choices possibility of at least a day ....
ps: just one regret, no possibility of a temperature programmed "night".