Exemplo n.º 1
0
 def __init__(self):
     self.triggers = [
         # Ignore main door events. Is used for presence detection.
         #ItemStateChangeTrigger("pGF_Corridor_Openingcontact_Door_State"),
         ItemStateChangeTrigger(
             "pGF_Garage_Openingcontact_Door_Streedside_State"),
         ItemStateChangeTrigger(
             "pGF_Garage_Openingcontact_Door_Garden_State")
     ]
     #self.triggers += getGroupMemberChangeTrigger("gGF_Sensor_Doors")
     self.triggers += getGroupMemberChangeTrigger("gGF_Sensor_Window")
     self.triggers += getGroupMemberChangeTrigger("gFF_Sensor_Window")
     self.triggers += getGroupMemberChangeTrigger("gSensor_Indoor")
     self.timer = None
    def __init__(self):
        self.triggers = [
            ItemStateChangeTrigger("pGF_Corridor_Openingcontact_Door_State")
        ]
        self.triggers += getGroupMemberChangeTrigger("gSensor_Indoor",
                                                     state="OPEN")

        self.isConfirmed = False
        self.confirmTimer = None

        self.fallbackTimer = None
Exemplo n.º 3
0
 def __init__(self):
     self.triggers = []
     self.triggers += getGroupMemberChangeTrigger("gPersistance_Mqtt")
Exemplo n.º 4
0
 def __init__(self):
     self.triggers = []
     self.triggers += getGroupMemberChangeTrigger("gGF_Sensor_Doors")
     self.triggers += getGroupMemberChangeTrigger("gGF_Sensor_Window")
     self.triggers += getGroupMemberChangeTrigger("gFF_Sensor_Window")