Skip to content

Commit 151d30f

Browse files
committed
fixup! docs: sequence diagram for voice_assistant entity commands
1 parent cc6d62a commit 151d30f

1 file changed

Lines changed: 17 additions & 8 deletions

File tree

doc/entities/entity_voice_assistant.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,29 +118,38 @@ sequenceDiagram
118118
participant R as Remote
119119
participant I as Integration
120120
participant V as Voice Assistant
121-
U-)+R: voice_start
121+
122+
U-)R: voice_start
123+
activate R
122124
R-->R: check microphone enabled
123-
R-)+I: voice_start
124-
I--)-R: result (ok)
125-
R--)-U: result (ok)
125+
R-)I: voice_start
126+
activate I
127+
I--)R: result (ok)
128+
R--)U: result (ok)
129+
deactivate R
126130
127131
I->>V: initiate voice command
128-
129132
I--)R: assistant_event (ready)
133+
deactivate I
134+
activate R
130135
R--)U: assistant_event (ready)
131136
U-->U: show ready
132137
133138
R-)I: protobuf: voice_begin
139+
activate I
134140
I->>V: start voice command
135141
loop microphone button pressed
136142
R-->R: get microphone audio chunk
137143
R-)I: protobuf: voice_data
144+
I-)V: relay audio stream
138145
end
139-
140-
U-)R: voice_end
146+
deactivate R
147+
148+
U-)+R: voice_end
141149
R--)U: result (ok)
142-
R-)I: protobuf: voice_end
150+
R-)-I: protobuf: voice_end
143151
I->>V: stop voice command
152+
deactivate I
144153
V-->V: processing
145154
146155
opt stt_response feature

0 commit comments

Comments
 (0)