Ejemplo n.º 1
0
 def initialize(self, botengine):
     """
     Initialize this object
     
     The correct behavior is to create the object, then initialize() it every time you want to use it in a new bot execution environment
     """
     ThermostatDevice.initialize(self, botengine)
 def initialize(self, botengine):
     """
     Initialize this object
     
     The correct behavior is to create the object, then initialize() it every time you want to use it in a new bot execution environment
     """
     ThermostatDevice.initialize(self, botengine)
Ejemplo n.º 3
0
    def initialize(self, botengine):
        """
        Initialization
        :param botengine:
        :return:
        """
        ThermostatDevice.initialize(self, botengine)

        if not hasattr(self, 'saved_state'):
            self.saved_state = None
    def initialize(self, botengine):
        """
        Initialization
        :param botengine:
        :return:
        """
        ThermostatDevice.initialize(self, botengine)

        if not hasattr(self, 'saved_state'):
            self.saved_state = None
Ejemplo n.º 5
0
    def initialize(self, botengine):
        """
        Initialize
        :param botengine:
        :return:
        """
        if not hasattr(self, 'ee_only'):
            self.ee_only = False

        if not hasattr(self, 'ee_timestamp_ms'):
            self.ee_timestamp_ms = None

        ThermostatDevice.initialize(self, botengine)
    def initialize(self, botengine):
        """
        Initialize
        :param botengine:
        :return:
        """
        if not hasattr(self, 'ee_only'):
            self.ee_only = False

        if not hasattr(self, 'ee_timestamp_ms'):
            self.ee_timestamp_ms = None

        ThermostatDevice.initialize(self, botengine)