Replies: 6 comments 41 replies
-
What happens when you type the command in? I am having no problems here but I use HA Cloud and the HA conversation agent |
Beta Was this translation helpful? Give feedback.
-
I must have missed a line in the above log. |
Beta Was this translation helpful? Give feedback.
-
Hi, This is what I get when I do what you suggest above: Thanks |
Beta Was this translation helpful? Give feedback.
-
I am happy to do that, but do not know how. Delete is greyed out for the default assistant Any pointers would be appreciated |
Beta Was this translation helpful? Give feedback.
-
Done that. Only difference was in "Control Home Assistant" I had ticked "assist". Changed that but I get the same error. |
Beta Was this translation helpful? Give feedback.
-
Thank you so muchOn Oct 21, 2024 08:20, OzGav ***@***.***> wrote:
Something weird is happening with the connection to your players then. I’ll have to think about it some more.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Dear all,
I am trying for quite some time to get voice control to play music on my devices. The music plays ok when I use music assistant, but I get unexpected errors when using the home assistant conversation agent and with openai conversation agent the conversation essentially responds with "cannot play on this media player right now" or similar. I have made a dedicated ma specific conversation agent.
What is interesting is when started with music assistant, I can "stop" and "continue", but not play "next track" for example.
I enclose below the error message that may be most helpful, that is from the home assistant conversation agent.
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/intent.py", line 142, in async_handle
result = await handler.async_handle(intent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.homeassistant/custom_components/mass/intent.py", line 71, in async_handle
mass_player = await self._async_get_matched_mass_player(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.homeassistant/custom_components/mass/intent.py", line 140, in _async_get_matched_mass_player
mass_player = MassPlayer(
^^^^^^^^^^^
File "/home/homeassistant/.homeassistant/custom_components/mass/media_player.py", line 228, in init
super().init(mass, player_id)
File "/home/homeassistant/.homeassistant/custom_components/mass/entity.py", line 29, in init
provider = self.mass.get_provider(player.provider)
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'provider'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/conversation/default_agent.py", line 367, in async_process
intent_response = await intent.async_handle(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/intent.py", line 150, in async_handle
raise IntentUnexpectedError(f"Error handling {intent_type}") from err
homeassistant.helpers.intent.IntentUnexpectedError: Error handling MassPlayMediaOnMediaPlayer
Any help and pointers would b every much appreciated.
Cheers
mcs
Beta Was this translation helpful? Give feedback.
All reactions