Home / Away presence not updating anymore

Hello,
since some weeks ago i don’t receive the notifications of leaving / entering home zone, this is not working on any device with the app installed, ipad iphone and a samsung galaxy, so on both iOS and Android.
I have this simple code for example, based on docs:

- alias: "Laura is back home"
  trigger:
  - platform: state
    entity_id: device_tracker.sm_g960f
    from: "not_home"
    to: "home"
    for: 00:05:00
  action:
  - service: notify.notify
    data:
      message: "Lalli è tornata a casa"
      title: "Home Assistant"
  
- alias: "Laura has left home"
  trigger:
  - platform: state
    entity_id: device_tracker.sm_g960f
    from: "home"
    to: "not_home"
    for: 00:05:00
  action:
  - service: notify.notify
    data:
      message: "Lalli è uscita da casa"
      title: "Home Assistant"

I Tried also adding this code in config:

device_tracker:
  - platform: fritz
    interval_seconds: 10
    consider_home: 180
    new_device_defaults:
      track_new_devices: true

but still not working.

Is there a solution? Am i missing something new?
Thank you

I solved the problem :cowboy_hat_face:, for those who wanted to know, I thought that the presence control was managed by the smartphone apps, then I thought instead at the fritzbox router which is already connected via integration, but I had to explicitly add the device tracker:

device_tracker:
  - platform: fritz
    interval_seconds: 10
    consider_home: 180
    new_device_defaults:
      track_new_devices: true

and in my specific case I had to change the device name from the app because it was in conflict having the same name as the device found by the router.