From 3bcd49feacde16cb5b24ddad0b777ec5633b4671 Mon Sep 17 00:00:00 2001 From: Floke Date: Sat, 5 Jul 2025 20:15:02 +0000 Subject: [PATCH] debug_screenshot.py aktualisiert --- debug_screenshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug_screenshot.py b/debug_screenshot.py index 2ca3c4d5..9ad550ac 100644 --- a/debug_screenshot.py +++ b/debug_screenshot.py @@ -48,7 +48,7 @@ async def main(): await page.type('input[name="password"]', HA_PASSWORD) logging.info("Klicke auf 'LOG IN'-Button...") - await page.click('button[type="submit"]') + await page.click('ha-form > mwc-button') logging.info("Warte nach Login auf Navigation/Neuladen...") # Wir warten, bis ein bekanntes Element des Dashboards erscheint.