# Home Assistant Device Tracker Problem

The device_tracker component would mark me as not_home and then switch back to home instantaneously, causing all presence based automations to get triggered at the same time. Not sure if this issue is specific to the fritz device_tracker component for Home Assistant, or not. This is what the logbook looks like in this situation:

The problem was in the way I had changed the components configuration. The intervals_seconds parameter and consider_home parameter should not have the same value. It would make sense for the consider_home value to be a longer time duration than the polling interval.

Defective configuration


device_tracker:
- platform: fritz
new_device_defaults:
track_new_devices: no
host: 10.1.1.1
interval_seconds: 120
consider_home: '00:02:00'


Corrected configuration


device_tracker:
- platform: fritz
new_device_defaults:
track_new_devices: no
host: 10.1.1.1