diff --git a/custom_components/mypyllant/__init__.py b/custom_components/mypyllant/__init__.py index ce00ff8..b8646e1 100644 --- a/custom_components/mypyllant/__init__.py +++ b/custom_components/mypyllant/__init__.py @@ -161,7 +161,7 @@ async def handle_generate_test_data(call: ServiceCall) -> ServiceResponse: async def handle_report(call: ServiceCall) -> ServiceResponse: return { f.file_name: f.file_content - async for f in report.main( + for f in await report.main( user=username, password=password, brand=brand,