Changes on how to fetch energy data for a room added.