diff --git a/openai_stt/stt.py b/openai_stt/stt.py
index 00c1137a13bac2e7687c0e84d2c75db28b401d71..950712bd14e9131f6576cca254acd9fb13ae9749 100644
--- a/openai_stt/stt.py
+++ b/openai_stt/stt.py
@@ -134,10 +134,9 @@ class OpenAISTTProvider(Provider):
                 ) as response:
                     if response.status == 200:
                         json_response = await response.json()
-                        _LOGGER.debug(f"{response.status}:{json_response["text"]}")
-                        return SpeechResult(
-                            json_response["text"], SpeechResultState.SUCCESS
-                        )
+                        text = json_response["text"]
+                        _LOGGER.debug(f"{response.status}:{text}")
+                        return SpeechResult(text, SpeechResultState.SUCCESS)
                     else:
                         text = await response.text()
                         _LOGGER.warning(f"{response.status}:{text}")