Climate Control in Smart Homes