Add help for conversation/process service (#14323)

* Add help for conversation/process service

* Add logging to debug text received when service is called

* Move conversation to specific folder
This commit is contained in:
stephanerosi authored and Paulus Schoutsen committed 2018-05-08 13:24:27 -04:00
1 parent 6199e50e80
commit ff01aa40c9
2 files changed
+11

No files matched your search

@@ -96,6 +96,7 @@ async def async_setup(hass, config):
async def process(service):
"""Parse text into commands."""
text = service.data[ATTR_TEXT]
_LOGGER.debug('Processing: <%s>', text)
try:
await _process(hass, text)
except intent.IntentHandleError as err:
@@ -0,0 +1,10 @@
# Describes the format for available component services
process:
description: Launch a conversation from a transcribed text.
fields:
text:
description: Transcribed text
example: Turn all lights on