Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support arbitrary links (with a warning for novice users?) #172

Open
jlsjonas opened this issue Jan 14, 2022 · 1 comment
Open

Support arbitrary links (with a warning for novice users?) #172

jlsjonas opened this issue Jan 14, 2022 · 1 comment

Comments

@jlsjonas
Copy link

From the FAQ

Will this allow anyone to link me to any url on my instance?
No, this is not possible. All links and their parameters are pre-defined in this website and in the "my" integration in Home Assistant.

I'm assuming that this decision was made to protect more novice users? (if not, please clarify why)

Could we consider allowing arbitrary redirects after all, making it easier for add-on/custom component developers (or anyone trustworthy really) to provide support (amongst likely a lot of other use-cases)

I'm open to provide a contribution for this if it would be accepted.

Thanks for considering!

@bilogic
Copy link

bilogic commented May 17, 2024

https://my.home-assistant.io/redirect/energy will open the companion app's energy page, but https://my.home-assistant.io/redirect/lovelace leads to 404. It would be great if the URL can be modified to accept arbitrary parameters that link to the page we want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@jlsjonas @bilogic and others