Open lindhe opened 5 months ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (my
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
my documentation my source (message by IssueLinks)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Please keep this open!
Hello, just wanted to let you know that there is another issue opened for this bug : https://github.com/home-assistant/my.home-assistant.io/issues/482
Thanks for finding that!
@steverep it seems like my issue is older and with slightly more debug information in the OP, but discussions have progressed further in https://github.com/home-assistant/my.home-assistant.io/issues/482 right now. Should we close my issue and continue there, or do we keep both issues?
It is not clear to me if this is a core issue or not, considering it seems like the spaces in the link changes when handled by the Android app.
The problem
I'm trying to import a blueprint from GitHub in the Android app. It fails to render a preview and does not let me proceed with adding it. Seems to work fine in the web/desktop application. Turns out it's because I get the wrong URL in the app.
The real URL to the blueprint is this: https://github.com/SgtBatten/HA_blueprints/blob/main/Frigate Camera Notifications/Stable The URL I get in the app is this: https://github.com/SgtBatten/HA_blueprints/blob/main/Frigate+Camera+Notifications/Stable
So somewhere along the lines, spaces get converted to
+
. I'm guessing it's in the Home Assistant app, but I'm not sure. Could be Android's handling of app links too.What I'm doing:
Trying to create a more minimal example, I went to https://my.home-assistant.io/create-link/ and entered
https://example.com/foo bar
as the URL. That gets translated intohttps://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fexample.com%2Ffoo+bar
which clearly has a+
betweenfoo
andbar
. But if I go to https://community.home-assistant.io/t/frigate-mobile-app-notifications-2-0/559732 and copy his link from there the space is URL encoded (%20
) so I don't know what to think. :confused:What version of Home Assistant Core has the issue?
core-2024.5.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
My Home Assistant
Link to integration documentation on our website
https://www.home-assistant.io/integrations/my/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
I only get this error in the logs, but it's clearly because it's using the incorrect URL:
Additional information
I cannot wrap my head around why I get different behavior in Android and on the web. :thinking: Maybe something with how Android handles "open in app"? I've tried to navigate to the link using both Firefox and Chrome on Android and the result is the same, so I'm pretty sure either Android or Home Assistant is at fault here.