Use text-to-speech in HA/Floorplan to trigger a lamp in Google Home?

I use Google Web Server to run text commands to my google home. Doing this on mobile so bare with me.

So basically you get that thing setup and you make a web hook as an automation to trigger your light. The request would be your local ip that the server runs on and then add the “command” parameter at the end of the url.

I don’t have my home assistant working right now because I just moved, but I did this pretty recently so I’d be open to answer any questions you have.

The only ‘gotcha’ from this is that the commands take a bit to run and are not as instant as other switches and automations. Mine takes a good 20-30 seconds to run.

Lemme know!