Need help! Release an automation with the sonoff basic

Hi, i’m new here and i am searching for some help! I have a sonoff basic to open my garage gate and it is integrated in the HA. But now, i became more ambitious and try to make one automation that open the garage gate using the trigger of me entering in a zone (home). It says that it is properly configurated but doesn’t do nothing! Can anyone help me?

Here goes the yaml code:

alias: Entrar em casa
description: Abrir portão
  - platform: device
    device_id: 2fa427b08548a1c80c9e567db63754ec
    domain: device_tracker
    entity_id: device_tracker.vs_s22
    type: enters
    zone: zone.home
condition: []
  - service: scene.turn_on
      entity_id: scene.portao_casa
    metadata: {}
mode: single