Recognition error with custom intent

I am taking my first dive into creating custom intents. I created a simple one that works fine (the device is just a placeholder that I’m using to test until I get my Z-net moved from HomeSeer to Home Assistant):

language: "en"
intents:
  SetBrightness:
    data:
      - sentences:
          - "(set|change) [the] {room} light[s] to {brightness} [percent]"
          - "(set|change) [the] brightness for [the] {room} light[s] to {brightness} [percent]"
lists:
  room:
    values:
      - in: "bedroom"
        out: "media_player.bedroom_2"

Then I created another one (which during troubleshooting, I simplified down to the bare minimum):

language: "en"
intents:
  SetLightState:
    data:
      - sentences:
          - "turn {lightstate} the {room} light[s]"
          - "turn the {room} light[s] {lightstate}"

But this one only gives me

Unexpected error during intent recognition (intent-failed)

I have no idea what I’m doing wrong or missing. Can anyone help?