Get User Name, who makes action in my custom component

Hello,

I’m developing custom integration for Ajax alarm system.
I want to know a user name, who press button, toggle switch or call service from my integration.

How to do it? Any example?

Look into context.

1 Like

thank you.
self._context for button and call.context for service

1 Like