Fix hotword override
==== Tech Notes ====
The threshold of the hotword was overritten with None since no default
threshold is in the default configuration
@@ -226,7 +226,9 @@ class RecognizerLoop(EventEmitter):
phonemes = self.config.get("phonemes")
thresh = self.config.get("threshold")
config = self.config_core.get("hotwords", {word: {}})
+ if phonemes:
config[word]["phonemes"] = phonemes
+ if thresh:
config[word]["threshold"] = thresh
if phonemes is None or thresh is None:
config = None
