my.home-assistant.io icon indicating copy to clipboard operation
my.home-assistant.io copied to clipboard

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

Open jlsjonas opened this issue 3 years ago • 1 comments

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!

jlsjonas avatar Jan 14 '22 16:01 jlsjonas

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.

bilogic avatar May 17 '24 05:05 bilogic