Door unlock

Has any one made a atomation that when someone comes home via. Connecting to wifi, to unlock a smart door and stay unlocked for a certain time period . I currently have bout a aqara u100 and wanting to make a automation, but really new at this.

It itregrates in to home assistant via zigbee if thats what you mean.