Home Assistant: Extended OpenAI Conversation setup
Set up Home Assistant AI controls, add YAML functions, and follow examples for a 7:40 a.m. automation, weather queries and device history.
Player not loading? Watch on YouTube
This tutorial configures Extended OpenAI Conversation for Home Assistant and demonstrates four tasks: calling services, creating automations, fetching weather data and querying entity history. The setup uses an API URL and key with the OpenAI-format provider setting. It does not demonstrate offline inference or running a model on local hardware.
The speaker describes installation through HACS or a manual install, then configures the prompt template and chat model. Viewers also need to enable tools, expose the devices the assistant may control, and select the integration as a dedicated assistant's conversation agent. Device aliases let commands refer to names such as "bedroom socket one."
Service execution is configured by default. The other examples require additional YAML functions: one creates a daily automation for 7:40 a.m., another calls a weather API for New York, and a database function returns device state changes with timestamps. Although the tutorial concerns a voice assistant, the demonstrated requests are typed.
The speaker reports fast service execution and a working automation. Those are results from this demonstration, not general performance guarantees.