mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Fix Almond onboarding url when using cloud (#28908)
This commit is contained in:
parent
1c630738f7
commit
ae3cf72fb2
@ -263,8 +263,6 @@ class AlmondAgent(conversation.AbstractConversationAgent):
|
||||
host = self.entry.data["host"]
|
||||
if self.entry.data.get("is_hassio"):
|
||||
host = "/core_almond"
|
||||
elif self.entry.data["type"] != TYPE_LOCAL:
|
||||
host = f"{host}/me"
|
||||
return {
|
||||
"text": "Would you like to opt-in to share your anonymized commands with Stanford to improve Almond's responses?",
|
||||
"url": f"{host}/conversation",
|
||||
|
Loading…
x
Reference in New Issue
Block a user