diff --git a/homeassistant/runner.py b/homeassistant/runner.py index 876ce5d694b..ae68727daf5 100644 --- a/homeassistant/runner.py +++ b/homeassistant/runner.py @@ -91,7 +91,7 @@ class HassEventLoopPolicy(PolicyBase): @callback -def _async_loop_exception_handler(self, _: Any, context: Dict) -> None: +def _async_loop_exception_handler(_: Any, context: Dict) -> None: """Handle all exception inside the core loop.""" kwargs = {} exception = context.get("exception")