Using Smart Thermostats To Manage Energy Usage