diff --git a/source/_components/snips.markdown b/source/_components/snips.markdown index 41fa358689b..ef4b7d04295 100644 --- a/source/_components/snips.markdown +++ b/source/_components/snips.markdown @@ -104,11 +104,12 @@ In Home Assistant, we trigger actions based on intents produced by Snips using t ```yaml snips: - intents: - ActivateLightColor: - action: - - service: light.turn_on - data_template: - entity_id: light.{% raw %}{{ objectLocation | replace(" ","_") }}{% endraw %} - color_name: {% raw %}{{ objectColor }}{% endraw %} + +intent_script: + ActivateLightColor: + action: + - service: light.turn_on + data_template: + entity_id: light.{% raw %}{{ objectLocation | replace(" ","_") }}{% endraw %} + color_name: {% raw %}{{ objectColor }}{% endraw %} ```