Support audit log on entities so that while debugging we can easily figure out whether a light was manually turned on using the dashboard by a logged in user or done by an automation or script or API call from other clients such as nodered.
Right now there is no way of knowing why a certain entity changed state without digging into a list of automations that might have triggered