'Get the latest data from Dweet.io.'

def update(self):

    import dweepy
    try:
        self.data = dweepy.get_latest_dweet_for(self._device)
    except dweepy.DweepyError:
        _LOGGER.warning("Device    %s    doesn't    contain    any    data", self._device)
        self.data = None
