Since AppDaemon under the covers uses the exact same APIs as the frontend UI  you typically see it react at about the same time to a given event Calling back to Home Assistant is also pretty fast especially if they are running on the same machine