Fix diagnostic download on integration level (#26341)

This commit is contained in:
Simon Lamon 2025-08-01 13:16:09 +02:00 committed by GitHub
parent c6efa1127f
commit b8000d5bc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1442,10 +1442,9 @@ export class HaConfigDevicePage extends LitElement {
} }
private async _signUrl(ev) { private async _signUrl(ev) {
const anchor = ev.currentTarget.closest("a");
const signedUrl = await getSignedPath( const signedUrl = await getSignedPath(
this.hass, this.hass,
anchor.getAttribute("href") ev.currentTarget.getAttribute("href")
); );
fileDownload(signedUrl.path); fileDownload(signedUrl.path);
} }