mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Snips - (fix) removed endSession mqtt response on error and unknown intents (#11908)
* Remove snips endSession response on unknownIntent * Removed snips_response for unknown and error.
This commit is contained in:
parent
ffe832763d
commit
27edbe5c0f
@ -106,8 +106,8 @@ def async_setup(hass, config):
|
||||
request['intent']['intentName'])
|
||||
except intent.IntentError:
|
||||
_LOGGER.exception("Error while handling intent: %s.", intent_type)
|
||||
snips_response = "Error while handling intent"
|
||||
|
||||
if snips_response:
|
||||
notification = {'sessionId': request.get('sessionId', 'default'),
|
||||
'text': snips_response}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user