'Check if motion has been detected since last update.'

def check_for_motion(self):

    self.data.refresh()
    notifs = self.data.cameras[self._name].notifications
    if (notifs > self.notifications):
        self.data.last_motion()
        self.notifications = notifs
    elif (notifs < self.notifications):
        self.notifications = notifs
    return self.data.camera_thumbs[self._name]
