Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95468

Intent_script with include_dir_merge_list configs

$
0
0

@LaBoss wrote:

Hello, I’m trying to configure intent_script for dialogflow.

To try to better organize HA wanted to put my intent_script in a folder and for that I set like this:

intent_script: !include_dir_merge_list configs/intent

But after placing the yaml files in the folder intents do not work, In the yaml files I tried these ways

Temperatura.yaml

      speech:
         text: We have {{ states.sensor.temperature }} degrees
      action:
         service: notify.notify
         data_template:
           message: Hello from an intent!

2º Try

   Temperatura:
      speech:
         text: We have {{ states.sensor.temperature }} degrees
      action:
         service: notify.notify
         data_template:
           message: Hello from an intent!

3º Try

   - Temperatura:
      speech:
         text: We have {{ states.sensor.temperature }} degrees
      action:
         service: notify.notify
         data_template:
           message: Hello from an intent!

With these attempts I was unsuccessful, but if so:

intent_script:
   Temperatura:
      speech:
         text: We have {{ states.sensor.temperature }} degrees
      action:
         service: notify.notify
         data_template:
           message: Hello from an intent!

everything works correctly.

Is possible to configure with include_dir_merge_list configs?

Thank you

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>