zachowj / hass-node-red

Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core
MIT License
442 stars 181 forks source link

Update import for get_agent_manager #261

Closed koosc closed 2 months ago

koosc commented 2 months ago

Installation was failing with the following error in HA logs:

ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration nodered: cannot import name '_get_agent_manager' from 'homeassistant.components.conversation' (/usr/src/homeassistant/homeassistant/components/conversation/__init__.py)

It looks like the name changed in a recent commit https://github.com/home-assistant/core/commit/f01235ef746823a8f146c603bf732df6a6061706.

This change looks to have fixed it for me when doing a manual install. I admittedly didn't look too much deeper than this but opening it as a suggestion.