assistant.google#

class platypush.plugins.assistant.google.AssistantGooglePlugin(**kwargs)[source]#

Bases: AssistantPlugin

Google assistant plugin. It acts like a wrapper around the platypush.backend.assistant.google backend to programmatically control the conversation status.

__init__(**kwargs)[source]#
is_muted() bool[source]#
Returns:

True if the microphone is muted, False otherwise.

send_text_query(query: str)[source]#

Send a text query to the assistant.

Parameters:

query – Query to be sent.

set_mic_mute(muted: bool = True)[source]#

Programmatically mute/unmute the microphone.

Parameters:

muted – Set to True or False.

start_conversation()[source]#

Programmatically start a conversation with the assistant

stop_conversation()[source]#

Programmatically stop a running conversation with the assistant

toggle_mic_mute()[source]#

Toggle the mic mute state.