sending command programatically
Posted: Tue Mar 14, 2023 7:28 am
So typically one would do something like "hey google, what time is it" or "what is the weather. I was wondering if there was a way to do the same thing via code.
such as:
if event.type == EventType.ON_ALERT_STARTED:
do this thing ('what time is it")
so that everytime the eventype alert was triggered, I could initiate a command, as I would as if I was saying it.
Thanks much++
such as:
if event.type == EventType.ON_ALERT_STARTED:
do this thing ('what time is it")
so that everytime the eventype alert was triggered, I could initiate a command, as I would as if I was saying it.
Thanks much++