Like “last_changed” and “last_updated” I’d like a “last_changed_by” attribute.
I would use it for automations.
An automation triggered by a motion sensor going from “occupied” to “clear”, could have a condition to check if the light was also turned on by the motion sensor, if that’s the case, then should the light turn off, otherwise, the automation should do nothing.
Right now this can only be achived using helpers.