def setInstallMode(self, remote, on=True, t=60, mode=1, address=None):
        """Activate or deactivate installmode on CCU / Homegear"""
        try:
            args = [on]
            if on and t:
                args.append(t)
                if address:
                    args.append(address)
                else:
                    args.append(mode)

            return self.proxies["%s-%s" % (self._interface_id, remote)].setInstallMode(*args)
        except Exception as err:
            LOG.debug("ServerThread.setInstallMode: Exception: %s" % str(err))
def setInstallMode ( self , remote , on = True , t = 60 , mode = 1 , address = None ) : try : args = [ on ] if on and t : args . append ( t ) if address : args . append ( address ) else : args . append ( mode ) return self . proxies [ "%s-%s" % ( self . _interface_id , remote ) ] . setInstallMode ( * args ) except Exception as err : LOG . debug ( "ServerThread.setInstallMode: Exception: %s" % str ( err ) )
Activate or deactivate installmode on CCU / Homegear