Device tracker state question

question… Im make some automation testing. what is the best way to change one of my device from home to not_home manually? i can disconnect my phone from my network but takes time (5 minutes) for the state to change from one to another… since I’m making some automation i need to know instantly so that i know that my automation works or if it needs some change.

my work around is making a switch of it so i can trigger it via automation but it doesn’t.

- alias: 'XXXnot home'
  trigger:
    - platform: state
      entity_id: device_tracker.XXXX
      state: 'not_home'
  action:
    - service: homeassistant.turn_not_home
      entity_id: device_tracker.XXXX

Go to Developer Tools/States, klick your device tracker, at the top enter new state and ‘Set State’