Fire events when Google Assistant commands come in #15139 (#20204)

This commit is contained in:
Penny Wood 2019-02-28 03:33:34 +08:00 committed by Paulus Schoutsen
parent 9b3a3fc1ac
commit b87eb9d79e
4 changed files with 134 additions and 9 deletions

View file

@ -42,3 +42,8 @@ ERR_NOT_SUPPORTED = "notSupported"
ERR_PROTOCOL_ERROR = 'protocolError'
ERR_UNKNOWN_ERROR = 'unknownError'
ERR_FUNCTION_NOT_SUPPORTED = 'functionNotSupported'
# Event types
EVENT_COMMAND_RECEIVED = 'google_assistant_command_received'
EVENT_QUERY_RECEIVED = 'google_assistant_query_received'
EVENT_SYNC_RECEIVED = 'google_assistant_sync_received'