How to know that the command sent from Alexa

Hi,

Is there a way to know that the request was sent from Alexa and not from user button activation? E.g., I want to know that the TV turn off command came from Alexa so I can follow up with question which channel to switch to (actionable notifications). When user turn on from UI, I don’t wan to follow up with any question.

I assume that I can define extra switches (for UI), but I want to know if there is other solution.

Thx

Try exposing a dummy bulb or script to Alexa. Use that trigger to control the TV