Device Tracker updates last_changed with last_update

I noticed that my Android App device_tracker entities update “last_changed” with “last_updated” even though the state hasn’t changed. Is that expected behavior?

It makes testing for “home” or “not_home” durations not work as expected. For example this logic:

condition: state
entity_id: device_tracker.pre_wtt_p6a
state: home
for:
  hours: 0
  minutes: 10
  seconds: 0

add a from state condition, and yes its expected to get updates even if the state did not change because the attributes are changing

1 Like