Multiple Conversation Triggers

Hello HA community. I am fairly new here, but managed to figure some setup things out on my own. Currently I am tooling with the built-in voice commands (the little microphone in the top right corner) and was able to program in some custom commands using the Conversation and Intent script (Maybe down the road I’ll feel more comfortable integrating Google Assistant to all of this).
But this is where I’m not finding answers (and maybe this isn’t supported yet).

I have a simple custom voice command to turn my office light off (located in configuration.yaml):

conversation:
  intents:
    OfficeLightOff:
      - Turn office light off

intent_script:
  OfficeLightOff:
  speech:
    text: Turning the office light off
  action:
    service: light.turn_off
    data_template:
      entity_id: light.office

And it works fine: I click the microphone button, say “Turn office light off”, and it does it.

Here’s my question: Is it possible to set up multiple voice commands that pull the same trigger? I want to be able to enter in multiple ways of saying the same command. So in this instance, I also want to be able to say “Turn off office light” and have it execute the same intent script.
I tried adding an additional line under the OfficeLightOff intent (in conversation), but it just said it couldn’t find the entity (meaning it couldn’t work). My searches are also coming up empty on this.

Any ideas?

I’ve never used this, but per the docs you should be able to do:

conversation:
  intents:
    OfficeLightOff:
      - Turn office light off
      - Turn off office light

or even:

conversation:
  intents:
    OfficeLightOff:
      - Turn [off] office light [off]

Ok, I may have derped on this one. I did try that first one you recommended already, but I didn’t realize in this particular function group, reloading the core from the Configuration page doesn’t refresh these commands, you have to do a full restart. So when I tested it, I just reloaded the core.
Alright, it’s working now, sorry :sweat_smile: Thank you!

1 Like

Yes you can put as much as commands to turn on/off office light. I use as your first example.

conversation:
  intents:
    OfficeLightOff:
      - Turn office light off
      - Turn off office light