Add "www" to generated tag QR code (#7577)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Philip Allgaier 2020-11-07 17:27:57 +01:00 committed by GitHub
parent 33cd9bf516
commit a0e8d69243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,7 +231,7 @@ class DialogTagDetail extends LitElement
private async _generateQR() {
const qrcode = await import("qrcode");
const canvas = await qrcode.toCanvas(
`https://home-assistant.io/tag/${this._params?.entry?.id}`,
`https://www.home-assistant.io/tag/${this._params!.entry!.id}`,
{
width: 180,
errorCorrectionLevel: "Q",