pyecobee/__init__.py
def set_dst_mode(self, index, dst):
        '''Enable/disable daylight savings
        Values: True, False
        '''
        
        body = {
            'selection': {
                'selectionType': 'thermostats',
                'selectionMatch': self.thermostats[index]['identifier']},
            'thermostat': {
                'location': {
                    'isDaylightSaving': dst}}}

        log_msg_action = 'set dst mode'
        return self.make_request(body, log_msg_action)
def set_dst_mode(self, index, dst):
        '''Enable/disable daylight savings
        Values: True, False
        '''
        
        body = {
            'selection': {
                'selectionType': 'thermostats',
                'selectionMatch': self.thermostats[index]['identifier']},
            'thermostat': {
                'location': {
                    'isDaylightSaving': dst}}}

        log_msg_action = 'set dst mode'
        return self.make_request(body, log_msg_action)
def set_dst_mode ( self , index , dst ) : body = { 'selection' : { 'selectionType' : 'thermostats' , 'selectionMatch' : self . thermostats [ index ] [ 'identifier' ] } , 'thermostat' : { 'location' : { 'isDaylightSaving' : dst } } } log_msg_action = 'set dst mode' return self . make_request ( body , log_msg_action )
Enable/disable daylight savings
        Values: True, False
Enable / disable daylight savings Values : True False