From 4708d4985d88e46a8eacfa13b72643e63f41220f Mon Sep 17 00:00:00 2001 From: Alexandre Cisneiros Date: Fri, 8 May 2020 23:01:51 -0300 Subject: [PATCH] Fix indentation on SessionEndedRequestHandler/handle The indentation on line 227, with the `global` statement, is wrong and breaks the skill. --- lambda_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda_function.py b/lambda_function.py index 65d2cfdf..e49d20ea 100644 --- a/lambda_function.py +++ b/lambda_function.py @@ -224,7 +224,7 @@ def can_handle(self, handler_input): def handle(self, handler_input): # type: (HandlerInput) -> Response - global home_assistant_object + global home_assistant_object if home_assistant_object == None: home_assistant_object = HomeAssistant(handler_input) home_assistant_object.get_ha_state()