Hey everyone,
I love the new AI feature from Home Assistent, but I want to get the weather forecast from the AI.
I´ve tried to write an intent_script in my configuration.yaml like JLo did it in the Release Party Video, but I can´t figure out how it works.
In my configuration.yaml I write this code:
conversation:
intents:
- GetWeatherForecastHourly:
- "Get the hourly weather forecast"
intent_script:
GetWeatherForecastHourly:
description: "Get the hourly weather forecast at my home location"
action:
- service: weather.get_forecasts
target:
entity_id:
- weather.my_weather_station
data:
type: hourly
response_variable: result
- stop: ""
response_variable: result
speech:
text: "{{ action_response }}"
All I get is “The GetWeatherForecastHourly
function is designed to retrieve actual weather data from a real-world source. As a language model, I don’t have access to live weather services or real-time data feeds.”
Any ideas how I can fix this?