It would be great if we could have “consider_away” option for Device Tracker.
The reason is that to have light & others turn on when I arrive home, I would like to set up “consider_home” at very small number. However, if “consider_home” is too small, home assistant will get too many false error thinking that I’m away when I actually am at home.
If we could set up “consider_home” & “consider_away” separately, it will be best as “consider_home” can be small number /// “consider_away” can be big number to get rid of false error.
PS: Turn the light on when I arrive home is much more critical than turn the light off when I leave home
Depending on the tracker you use, you could lower the seconds between scans. For instance, I use NMAP and it scans every 30 seconds so at most, I wait about 30 seconds for the lights to pop on when I arrive home (after my phone connects to wifi).
Besides that you could use an automation with “for” to update an input_boolean based on the time your presence has been changed to home/away to discard any false states
automation:
trigger:
platform: state
entity_id: device_tracker.paulus, device_tracker.anne_therese
# Optional
from: 'not_home'
to: 'home'
# Alias for 'to'
state: 'home'
# If given, will trigger when state has been the to state for X time.
for:
hours: 1
minutes: 10
seconds: 5