home-llm icon indicating copy to clipboard operation
home-llm copied to clipboard

Refresh aliases without needing to restart Home Assistant (or reload LLM services)

Open tarocco opened this issue 1 year ago • 0 comments

Currently I'm able to refer to devices/entities/helpers by their aliases as per changes made after #35, but only after restarting Home Assistant. It appears that the formatted prompt template is not updated with the aliases until Home Assistant restarts. I would love to be able to update aliases (and subsequently the formatted LLM prompt) without having to restart Home Assistant.

P.S.: I figured out that reloading the service will cause the prompt to be updated with the device aliases. This is more convenient than restarting Home Assistant, but it would be nice to see the prompt updated automatically.

tarocco avatar Jul 13 '24 21:07 tarocco