Similar Intents best practices


#1

I was curious how others are handling similar intents, since I can see several ways to approach them.

For example, an intent to turn a light on and off. The difference between the two intents might be only “on” or “off”.
“Turn the kitchen light on.”
“Turn the kitchen light off.”

I currently have two intents, one for on and one for off and I only have one slot for the entity (kitchen).

However, I could also do this with one intent and two slots, one for entity and one for an action (on/off).

Is one approach better than the other?


#2

It’s better in one intent for the only reason it’s less work :slight_smile: But also less mqtt subscriptions, less coding, less many things :slight_smile: