def stale(self, now=None):
        return self.last_seen and \
            (now or dt_util.utcnow()) - self.last_seen > self.consider_home
Return if device state is stale.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/device_tracker/__init__.py/Device.stale