Testing locally Azure + Python + timer

Hi all! I am starting to use SLS to deploy some functions in AWS and Azure. In AWS have had no problems (I have more experience with AWS than Azure). But for Azure, I am having some problems when testing locally (not even deployed yet). This is my app code:

from pprint import pprint

def handler(*args, **kwargs):
    pprint(args)
    pprint(kwargs)
    return {}

if __name__ == "__main__":
    handler()

And this is my serverless.conf:

service: stn-cmdb-azure

provider:
  name: azure
  variableSyntax: '\${{([\s\S]+?)}}'
  region: westeurope
  runtime: python3.8
  os: linux
  resourceGroup: stn-cmdb-${{self:provider.stage}}

functions:
  InventoryAzure:
    handler: inventory_azure.handler
    prefix: "stn-cmdb-azure-inventory-${{self:provider.stage}}"
    stage: ${{self:provider.stage}}
    events:
      - timer:
          schedule: '0 6 * * * *'

plugins:
  - serverless-azure-functions

But when I try to invoke the function locally, I get this error:

$ sls invoke local -f InventoryAzure
Serverless: Initializing provider configuration...
Serverless: Needs to be an http function

Is there any way to test the function without adding an HTTP event? If no way, what should be the minimal configuration to make the local invoke work?

Thanks!