A method for controlling a load of an electricity distribution network, wherein a plurality of houses are connected to the electricity distribution network and each house comprises a home automation system (106, 204) and at least one room (208, 210, 212), the method comprising steps of - forming a first group of rooms and a second group of rooms; - allocating a first control time period for the first group of rooms and a second control time period for the second group of rooms; - receiving measured room temperatures and desired room temperatures of the rooms of the first group and of the rooms of the second group; - receiving an indication to modify the load of the electricity distribution network; characterised in that the method also comprises - making a first timing plan to increase or decrease heating using electrical heaters or to increase or decrease cooling using electrical coolers in the first group of rooms and a second timing plan to increase or decrease heating using electrical heaters or to increase or decrease cooling using electrical coolers in the second group of rooms, based on the measured room temperatures and desired room temperatures, prior to receiving an indication to modify the load of the electricity distribution network; and - adjusting the first timing plan if the indication to modify the load is received in the first control time period and adjusting the second timing plan if the indication to modify the load is received in the second control time period, such that - if the indication is to increase the load, adjusting the timing plan by decreasing the electricity consumption of at least one electrical heater or cooler later than in the timing plan, or increasing the electricity consumption of the at least one electrical heater or cooler earlier than in the timing plan; and - if the indication is to decrease the load, adjusting the timing plan by increasing the electricity consumption of the at least one electrical heater or cooler later than in the timing plan, or decreasing the electricity consumption of the at least one electrical heater or cooler earlier than in the timing plan. - forming a first group of rooms and a second group of rooms; - allocating a first control time period for the first group of rooms and a second control time period for the second group of rooms; - receiving measured room temperatures and desired room temperatures of the rooms of the first group and of the rooms of the second group; - receiving an indication to modify the load of the electricity distribution network; - making a first timing plan to increase or decrease heating using electrical heaters or to increase or decrease cooling using electrical coolers in the first group of rooms and a second timing plan to increase or decrease heating using electrical heaters or to increase or decrease cooling using electrical coolers in the second group of rooms, based on the measured room temperatures and desired room temperatures, prior to receiving an indication to modify the load of the electricity distribution network; and - adjusting the first timing plan if the indication to modify the load is received in the first control time period and adjusting the second timing plan if the indication to modify the load is received in the second control time period, such that - if the indication is to increase the load, adjusting the timing plan by decreasing the electricity consumption of at least one electrical heater or cooler later than in the timing plan, or increasing the electricity consumption of the at least one electrical heater or cooler earlier than in the timing plan; and - if the indication is to decrease the load, adjusting the timing plan by increasing the electricity consumption of the at least one electrical heater or cooler later than in the timing plan, or decreasing the electricity consumption of the at least one electrical heater or cooler earlier than in the timing plan. - if the indication is to increase the load, adjusting the timing plan by decreasing the electricity consumption of at least one electrical heater or cooler later than in the timing plan, or increasing the electricity consumption of the at least one electrical heater or cooler earlier than in the timing plan; and - if the indication is to decrease the load, adjusting the timing plan by increasing the electricity consumption of the at least one electrical heater or cooler later than in the timing plan, or decreasing the electricity consumption of the at least one electrical heater or cooler earlier than in the timing plan.