projects
/
kiosk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
838f51a545dd981af699086bc5057750b7f89295
[kiosk.git]
/
myq_trigger.py
1
import constants
2
import globals
3
import trigger
4
5
class myq_trigger(trigger.trigger):
6
def get_triggered_page_list(self):
7
if globals.get("myq_triggered") == True:
8
print("****** MyQ garage door is open page trigger ******")
9
return (constants.myq_pagename, trigger.trigger.PRIORITY_HIGH)
10
else:
11
return None