openweathermap.yml 1.0 KB

123456789101112131415161718192021222324252627
  1. ---
  2. - name: "get-the-weather"
  3. signals:
  4. - order: "quel temps fait-il {{ location }}"
  5. neurons:
  6. - openweathermap:
  7. api_key: "your-api"
  8. lang: "fr"
  9. temp_unit: "celsius"
  10. country: "FR"
  11. args:
  12. - location
  13. say_template:
  14. - "Aujourd'hui a {{ location }} le temps est {{ weather_today }} avec une température de {{ temp_today_temp }} degrés et demain le temps sera {{ weather_tomorrow }} avec une température de {{ temp_tomorrow_temp }} degrés"
  15. - name: "get-the-weather-2"
  16. signals:
  17. - order: "quel temps fait-il"
  18. neurons:
  19. - openweathermap:
  20. api_key: "your-api"
  21. lang: "fr"
  22. temp_unit: "celsius"
  23. country: "FR"
  24. location: "grenoble"
  25. say_template:
  26. - "Aujourd'hui a {{ location }} le temps est {{ weather_today }} avec une température de {{ temp_today_temp }} degrés et demain le temps sera {{ weather_tomorrow }} avec une température de {{ temp_tomorrow_temp }} degrés"