pyecobee/__init__.py
def resume_program(self, index, resume_all=False):
        ''' Resume currently scheduled program '''
        body = {"selection": {
                    "selectionType": "thermostats",
                    "selectionMatch": self.thermostats[index]['identifier']},
                "functions": [{"type": "resumeProgram", "params": {
                    "resumeAll": resume_all
                }}]}

        log_msg_action = "resume program"
        return self.make_request(body, log_msg_action)
def resume_program(self, index, resume_all=False):
        ''' Resume currently scheduled program '''
        body = {"selection": {
                    "selectionType": "thermostats",
                    "selectionMatch": self.thermostats[index]['identifier']},
                "functions": [{"type": "resumeProgram", "params": {
                    "resumeAll": resume_all
                }}]}

        log_msg_action = "resume program"
        return self.make_request(body, log_msg_action)
def resume_program ( self , index , resume_all = False ) : body = { "selection" : { "selectionType" : "thermostats" , "selectionMatch" : self . thermostats [ index ] [ 'identifier' ] } , "functions" : [ { "type" : "resumeProgram" , "params" : { "resumeAll" : resume_all } } ] } log_msg_action = "resume program" return self . make_request ( body , log_msg_action )
Resume currently scheduled program
Resume currently scheduled program