The logbook view, and the more info box of entities generally shows if a user triggered i.e. a switch toggling, or if it happened inside an automation for example.
I have a couple of ESPHome devices set up, which can be set to directly interact with home assistant, as well as some other devices I tinker with that interface with home assistant. This means that sometimes, things trigger or turn on on their own, because for example I forgot to apply a pullup. If the button is set to directly toggle the switch, I cannot see that it was the ESP device that caused this. It simply shows the switch turned on/off, without additional information. I can attach the esphome sensor to an automation, which will show it, but this is not as convenient.
When integrating with the API, something similar happens. The UI shows the user that the access token belongs to as triggering the change, not the name of the token.
Being able to see the name of a device or api token would make pinpointing misbehaving devices and debugging a lot easier, I think.