I have a garage door connected to a SONOFF. The sonoff is triggering a relay so when the door is closed, it is opening and when the door is open it is closing it.
Now this can be triggered with google assistant either by sayng (google activate garage, or by typing it to google home app or google assistant).
How can I pass this command to google assistant with a tap of a button in a flutter app?