Retrieve events for a device entity.

def getEvent(self, dev_id, starttime, endtime):
        """Retrieve events for a device entity."""
        path = 'device/%s/event?startTime=%s&endTime=%s' % \
            (dev_id, starttime, endtime)
        return self.rachio.get(path)