Someone may correct me, but I don’t believe that’s possible. What you can do is setup a helper in Home Assistant, expose that to Google Home, then setup Google Home routines to manipulate the lock.
You could go a step farther and use the Google Assistant SDK to send Google Assistant commands to lock/unlock via Google Home.
been trying this for the last hour - I can get a switch/button to show in google home devices but it’s not letting me use them as a routine starter. frustrating
Thank you so much! This makes sense. Definitely set up the Google STK as well, but it’s a bit of overkill for this use case. Tho I do have announcements using Google Home devices so I like the idea of it. Not interrupting music.