diff --git a/__init__.py b/__init__.py index e1c505b..7b8b37a 100644 --- a/__init__.py +++ b/__init__.py @@ -255,6 +255,7 @@ def handle_classic_mycroft_intent(self, message): "descriptor": "a deep retro male voice with a British accent" }) if confirmation: + self.speak_dialog("confirm_change") self._set_user_tts_settings("mycroft") self._enable_wake_word("hey_mycroft", message) self._disable_all_other_wake_words(message, "hey_mycroft") @@ -279,6 +280,7 @@ def handle_become_neon(self, message): "descriptor": "a professional female voice with an American accent" }) if confirmation: + self.speak_dialog("confirm_change") self._set_user_tts_settings("neon") self._enable_wake_word("hey_neon", message) self._disable_all_other_wake_words(message, "hey_neon") @@ -308,6 +310,7 @@ def handle_ironman_intent(self, message): "descriptor": "a deep male voice with a British accent, like a butler" }) if confirmation: + self.speak_dialog("confirm_change") self._set_user_tts_settings("jarvis") self._enable_wake_word("hey_jarvis", message) self._disable_all_other_wake_words(message, "hey_jarvis") diff --git a/locale/en-us/dialog/confirm_change.dialog b/locale/en-us/dialog/confirm_change.dialog new file mode 100644 index 0000000..a4dc06f --- /dev/null +++ b/locale/en-us/dialog/confirm_change.dialog @@ -0,0 +1,2 @@ +Okay, I'll be back shortly. +I'll be right back, but a little different. \ No newline at end of file diff --git a/test/test_resources.yaml b/test/test_resources.yaml index 17410b7..4de1c06 100644 --- a/test/test_resources.yaml +++ b/test/test_resources.yaml @@ -58,6 +58,7 @@ dialog: - neon_confirmation - wakeword_failed_to_disable - ask_enable + - confirm_change # regex entities, not necessarily filenames regex: