Away Timeout, Timeout

Hi,
Im using ESPresence to detect if im in a room or not.
When settings the YAML configuration file the guide said to put away_timeout and timeout values.
Can somebody explain how can I use these values?
I would like the sensor to be super responsible as possible to refresh.
This is my code:

default_config:

frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

sensor:
  - platform: mqtt_room
    away_timeout: 20
    device_id: "mifit:xxxxxxxxx"
    name: "Amazfit Watch"
    state_topic: "espresense/rooms"
    timeout: 5