Edit: I got it working. I think the problem was the spaces in { consoles }
here:
language: "en"
intents:
CustomConsolePlay:
data:
- sentences:
- "[Let's] play { consoles }"
Removing those got it working, I think?
Here’s the current working YAML for the consoles.yaml
file:
language: "en"
intents:
CustomConsolePlay:
data:
- sentences:
- "[Let's] play {consoles}"
lists:
consoles:
values:
- in: "(Atari | Atari 7800 | 7800)"
out: "Atari 7800"
- in: "( NES | Nintendo Entertainement System )"
out: "NES"
- in: "( SNES | Super Nintendo Entertainement System)"
out: "SNES"
- in: "( N64 | Nintendo 64 )"
out: "N64"
- in: "Gamecube"
out: "Gamecube"
- in: "Wii"
out: "Wii"
- in: "Wii U"
out: "Wii U"
- in: "( Switch | Nintendo Switch )"
out: "Switch"
- in: "( PC Engine | Turbo Grafx )"
out: "PC Engine"
- in: "( Neogeo AES | AES )"
out: "Neogeo AES"
- in: "Neogeo CD"
out: "Neogeo CD"
- in: "3DO"
out: "3DO"
- in: "( Genesis | Megadrive | Sega Genesis | Sega Megadrive )"
out: "Genesis"
- in: "( Saturn | Sega Saturn )"
out: "Saturn"
- in: "( Dreamcast | Sega Dreamcast )"
out: "Dreamcast"
- in: "( PS1 | PlayStation 1 | PlayStation )"
out: "PS1"
- in: "( PS2 | PlayStation 2 )"
out: "PS2"
- in: "( PS3 | PlayStation 3 )"
out: "PS3"
- in: "( PS4 | PlayStation 4 )"
out: "PS4"
- in: "( PSP Go | PlayStation Portable Go )"
out: "PSP Go"
- in: "( PSTV | PlayStation TV )"
out: "PlayStation TV"
- in: "( Xbox | OG Xbox | Original Xbox )"
out: "Xbox"
- in: "( Xbox 360 | 360 )"
out: "Xbox 360"
- in: "( MiSTer FPGA | MiSTer )"
out: "MiSTer FPGA"
And here is the current working YAML I added to cofiguration.yaml
intent_script:
CustomConsolePlay:
speech:
text: "Starting console"
action:
service: input_text.set_value
data:
value: "{{consoles}}"
target:
entity_id: input_text.console_switching_console_name
Plan to continue working with this but the most basic feature I needed works!
I added those to my configuration.yaml like you said and I’m still getting this error.
Logger: homeassistant.components.assist_pipeline.pipeline
Source: components/conversation/default_agent.py:286
Integration: Assist pipeline (documentation, issues)
First occurred: 7:03:06 PM (1 occurrences)
Last logged: 7:03:06 PM
Unexpected error during intent recognition
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 522, in recognize_intent
conversation_result = await conversation.async_converse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/conversation/__init__.py", line 467, in async_converse
result = await agent.async_process(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/conversation/default_agent.py", line 210, in async_process
result = await self.async_recognize(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/conversation/default_agent.py", line 193, in async_recognize
result = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/conversation/default_agent.py", line 286, in _recognize
for result in recognize_all(
File "/usr/local/lib/python3.11/site-packages/hassil/recognize.py", line 406, in recognize_all
for maybe_match_context in maybe_match_contexts:
File "/usr/local/lib/python3.11/site-packages/hassil/recognize.py", line 807, in match_expression
group_contexts = [
^
File "/usr/local/lib/python3.11/site-packages/hassil/recognize.py", line 807, in <listcomp>
group_contexts = [
^
File "/usr/local/lib/python3.11/site-packages/hassil/recognize.py", line 826, in match_expression
raise MissingListError(f"Missing slot list {{{list_ref.list_name}}}")
hassil.recognize.MissingListError: Missing slot list { consoles }
Is the last bit where it says this…
File "/usr/local/lib/python3.11/site-packages/hassil/recognize.py", line 826, in match_expression
raise MissingListError(f"Missing slot list {{{list_ref.list_name}}}")
hassil.recognize.MissingListError: Missing slot list { consoles }
as important as it seems to me? I’m reading over the documentation again to see if I can figure this out on my own but again, any help is appreciated.