Example #1
0
    def __init__(self,
                 botengine,
                 device_id,
                 device_type,
                 device_description,
                 precache_measurements=True):
        ThermostatDevice.__init__(self,
                                  botengine,
                                  device_id,
                                  device_type,
                                  device_description,
                                  precache_measurements=precache_measurements)

        # The boolean on/off state of this device that was saved
        self.saved_state = None
    def __init__(self, botengine, device_id, device_type, device_description, precache_measurements=True):
        """
        Constructor
        :param botengine:
        :param device_id:
        :param device_type:
        :param device_description:
        :param precache_measurements:
        """
        ThermostatDevice.__init__(self, botengine, device_id, device_type, device_description, precache_measurements)

        # Set to True to activate the 'climate' mode switching functionality which is incompatible with demand response events.
        self.ee_only = False

        # Start timestamp of EE events for tracking
        self.ee_timestamp_ms = None
Example #3
0
    def __init__(self,
                 botengine,
                 device_id,
                 device_type,
                 device_description,
                 precache_measurements=True):
        """
        Constructor
        :param botengine:
        :param device_id:
        :param device_type:
        :param device_description:
        :param precache_measurements:
        """
        ThermostatDevice.__init__(self, botengine, device_id, device_type,
                                  device_description, precache_measurements)

        # Set to True to activate the 'climate' mode switching functionality which is incompatible with demand response events.
        self.ee_only = False

        # Start timestamp of EE events for tracking
        self.ee_timestamp_ms = None
    def __init__(self, botengine, device_id, device_type, device_description, precache_measurements=True):
        ThermostatDevice.__init__(self, botengine, device_id, device_type, device_description, precache_measurements=precache_measurements)

        # The boolean on/off state of this device that was saved
        self.saved_state = None