I finally set up my home assistant automation on a Raspberry Pi 3 with WiFi tasmota switches. Everything works nicely but I am noticing inconsistent response times. For example, if I switch a light it might take up sometimes up to 5 seconds to respond, but if I switch it again repeatedly eventually the switch becomes immediate. I am wondering what could be the cause of this delay. Is there a way to troubleshoot it?
On an related note, where can I find time-stamped detailed logs of all actions/events taken/observed by Home Assistant?