From 892c0d6801698c8a200c7a346e3b6e0bfb8b69e1 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 6 Feb 2024 09:37:32 +0100 Subject: [PATCH] Fix dashcast example (#818) --- examples/dashcast_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dashcast_example.py b/examples/dashcast_example.py index 09a02cca3..ac056d67b 100644 --- a/examples/dashcast_example.py +++ b/examples/dashcast_example.py @@ -78,7 +78,7 @@ warning_message = "If you see this on your TV then something is broken" d.load_url( "https://home-assistant.io/? " + warning_message, - callback_function=lambda result: d.load_url("https://home-assistant.io/"), + callback_function=lambda msg_sent, resp: d.load_url("https://home-assistant.io/"), ) # If debugging, sleep after running so we can see any error messages.