Automation Trigger: Putting Tablet in Wireless Charger

You can add a Template condition to check that the previous state lasted for at least a specified amount if time:

- condition: template
  value_template: >-
    {% set previous = trigger.from_state.last_changed | as_datetime | as_local %}
    {{ now() - previous > timedelta(seconds=5) }}