Is the lack of a Button domain in Google Assistant a Google thing or a Home Assistant thing?
The button entity as exposed by ESPHome are excellent and work better for a momentary switch than a switch entity, but the Google Assistant doesn’t understand them.
That. See what Google supports as “traits” below.
I could imagine it could be mapped to a Google “Scene”, though, or anything similar for which Google doesn’t require a state.
Odd. I just get an “I don’t understand” response. I wonder what the right phrase is for a button? “Press” doesn’t seem to work. Neither does “open/close” or “on/off”.
What, that Google doesn’t have a notion of stateless button and that HA worked around it by using the only stateless thing available, i.e. “scenes”? Your opinion…
Maybe calling the thing “button” in HA wasn’t the brightest idea, though…
yeah, i know, but was able to turn something on, if it was already on
ao actually the state in Google is always OFF => so i just always turn in on => and then the state goes back to OFF
like a button you press
Anyone find the key word yet? They are indeed scenes, how to poke them is the question.
Update…
Never mind. Figured it out. You have to set-up a Google Home App Routine to trigger the scene, so another layer of programming to go bad.
Switching mine back to an input_boolean.
I have to turn them back off, but at least all the code is in one place.
I created a Google home routine for my input_button but unfortunately I found out that routines are not yet supported on my Samsung watch 4. Google assistant reports: routines are currently not supported on this device
I am waiting for Assistant to be rolled out on my Watch 4 in NL, but hearing that is a disappointment. I rely a lot on routines to fix awkward commands.
The reply is strange though. Instead of not recognising the starter and saying it doesn’t understand you, it blatantly says: I know it is a routine, but I’m still not going to do it.