Hi, all this while I had a very simple automation setup, like, if the door opens, turn on the lights, etc. Configuring these automations was very simple and usually done from the Automation Editor itself, no manual YAML code was required.
We can do all of this with AD as well, just by writing a few lines of Python.
Now, how do I decide (or the factors) for particular automation, should I use YAML or switch to AD. One I can think of is the convenience.
I am interested in knowing the advantages/disadvantages of the two, especially in terms of Execution time/speed
nope, if both run on the same pi and you connect from AD to HA locally (not through an duckdns url or something simular) there should not be any noticeable difference in performance.
of course you use a little more CPU and mem, because you run appdaemon.