Put home assistant hub in listening mode

Question,

Is it in anyway possible to put my google home HUB in listening mode (like saying “hey google”) beeing triggered by a switch or motion detector.
I would like that when a switch is triggered i want the hub to listen for a voice command.

thanks