Set brightness intent for rooms?

I just started playing with this and I noticed that if I say “set the right lamp to 100%” the right lamp rightness changes to 100%. However if I say “set the big bedroom lights to 100 percent” assist will say “sorry i couldn’t understand that”

    {
      "sentence": "set the big bedroom lights to 100 percent",
      "language": "en",
      "result": null
    }

I tried adding this to my configuration.yaml:

conversation:
  intents:
    HassLightSet:
      - "(set|change) [the] {light} [brightness] to {brightness} percent"
      - "(set|change) [the] {light} lights to {brightness} percent"
      - "(set|change) [the] {light} [color] to {color}"
    response: "okey dokey"

However, this is not working:

Logger: homeassistant.components.assist_pipeline.pipeline
Source: components/assist_pipeline/pipeline.py:938
Integration: Assist pipeline (documentation, issues)
First occurred: 4:18:53 PM (1 occurrences)
Last logged: 4:18:53 PM

Unexpected error during intent recognition
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 938, 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 208, in async_process
    result = await self.async_recognize(user_input)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/conversation/default_agent.py", line 191, 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 284, 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 {light}

What am I doing wrong?

It would be better to use a different identifier other than “HassLightSet”. This is from the default conversations, so if your phrase matches those sentences instead of yours, it will not set anything for “{light}”.