Add hacs_repository my redirect (#13153)

This commit is contained in:
Joakim Sørensen 2022-07-11 09:06:45 +02:00 committed by GitHub
parent 399efca411
commit da709cbbd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,6 +216,15 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({
// Moved from Supervisor panel in 2022.5
redirect: "/config/info",
},
hacs_repository: {
component: "hacs",
redirect: "/hacs/_my_redirect/hacs_repository",
params: {
owner: "string",
repository: "string",
category: "string?",
},
},
});
const getRedirect = (