We have a UniFi Access system which we’ve tied into a third party deadbolt through HA using the unofficial GitHub integration, “hass-unifi-access”. That’s been working great for a while, but I noticed that an official integration was recently added to HA and wanted to give it a shot. I removed the sideloaded version and converted to the official release this week, but I have an issue with the new automation triggers.
The problem I’m running into is the new integration does not appear to have a standard UNLOCK device or entity trigger that we can use to kick off an automation as the previous GitHub project did? I have not been able to find a way to kick off an automation based on the UniFi door hub being unlocked using the visual builder and I’m curious if I’m overlooking an event or device trigger somewhere?
I was able to load the “UniFi Access door access notification” blueprint provided by @RaHehl and modify that to trigger an automation whenever the UniFi door hub is unlocked, so it does appear that the functions exist, but I can’t seem to find them in the UI when I build an automation from scratch? For the time being, the blueprint has our locks working, minus some of the additional IF/ELSE criteria we’d normally had in there, which I’d like to bring back.
I had THOUGHT this was correct after looking at the blueprint, but the automation never triggers:
trigger: state
entity_id:
- event.front_door_access
attribute: event_type
to:
- access_granted
Curious if I’m missing something in the trigger setup or if anyone has any idea how to trigger an event using the visual editor UI when a UniFi door hub unlock is detected?
Kudos to the devs for the new release, which is otherwise working reliably for us.
Thanks!

