393 files
This commit is contained in:
1 parent
b05b7a897e
commit
39d97ac2db
404 files changed
+54006
-11034
No files matched your search
@@ -9,6 +9,7 @@ from typing import TYPE_CHECKING
|
||||
if TYPE_CHECKING:
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from .notification_ids import PANEL_PATH
|
||||
from .qrcodegen import QrCode
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
@@ -69,7 +70,8 @@ def build_qr_url(
|
||||
params["action"] = action
|
||||
|
||||
query = urllib.parse.urlencode(params)
|
||||
return f"{base}/maintenance-supporter?{query}"
|
||||
# The panel route every notification deep link uses too (notification_ids).
|
||||
return f"{base}{PANEL_PATH}?{query}"
|
||||
|
||||
|
||||
def _icon_elements(icon: str, cx: float, cy: float, r: float, fill: str) -> str:
|
||||
|
||||
Reference in new issue
Block a user