From b821981cf3468e2e8d6c9c51c7ef40a46b0f3fc5 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sun, 7 Jan 2024 11:15:31 -0800 Subject: [PATCH] This globals thing is a POS --- ratago_trigger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratago_trigger.py b/ratago_trigger.py index a0fc310..a54573c 100644 --- a/ratago_trigger.py +++ b/ratago_trigger.py @@ -8,7 +8,7 @@ from typing import List, Optional, Tuple class ratago_trigger(trigger.trigger): def get_triggered_page_list(self) -> Optional[List[Tuple[str, int]]]: - if globals.get("ratago_triggered", False): + if globals.get("ratago_triggered"): print("****** MyQ garage door is open page trigger ******") return [(kiosk_constants.ratago_pagename, trigger.trigger.PRIORITY_HIGH)] else: -- 2.44.0