From 1bd40fdd91ce9c8f4b2365ffef10eaad163a937c Mon Sep 17 00:00:00 2001 From: Rene Lange Date: Thu, 7 Nov 2024 13:32:56 +0100 Subject: [PATCH] test added --- .../homeassistantedupage/test/test.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 custom_components/homeassistantedupage/test/test.py diff --git a/custom_components/homeassistantedupage/test/test.py b/custom_components/homeassistantedupage/test/test.py new file mode 100644 index 0000000..d3866c7 --- /dev/null +++ b/custom_components/homeassistantedupage/test/test.py @@ -0,0 +1,14 @@ +import datetime + +from edupage_api import Edupage + +edupage = Edupage() +edupage.login_auto("rene@familie-lange.digital", "hXbxb$@$6fhyYMhB") + +# My timetable +date = datetime.date(2024, 11, 1) +timetable = edupage.get_my_timetable(date) + +print(f"My timetable from {date}:") + +print() \ No newline at end of file