'Cache value from Python-nest.'

def update(self):

    self._location = self.device.where
    self._name = self.device.name
    self._online = self.device.online
    self._is_streaming = self.device.is_streaming
    self._is_video_history_enabled = self.device.is_video_history_enabled
    if self._is_video_history_enabled:
        self._time_between_snapshots = timedelta(seconds=6)
    else:
        self._time_between_snapshots = timedelta(seconds=30)
