(self)
return True
Initialize the system.
Initialize the system.
Initialize the system .
def start(self):
        """Initialize the system."""
        response = self.sync_initialize()
        if not response:
            return False

        try:
            self.sync_id = self.summary["id"]
            self.serial = self.summary["serial"]
            self.status = self.summary["status"]
        except KeyError:
            _LOGGER.error("Could not extract some sync module info: %s", response)

        is_ok = self.get_network_info()
        self.check_new_videos()

        if not is_ok or not self.update_cameras():
            return False
        self.available = True
        return True
def start ( self ) : response = self . sync_initialize ( ) if not response : return False try : self . sync_id = self . summary [ "id" ] self . serial = self . summary [ "serial" ] self . status = self . summary [ "status" ] except KeyError : _LOGGER . error ( "Could not extract some sync module info: %s" , response ) is_ok = self . get_network_info ( ) self . check_new_videos ( ) if not is_ok or not self . update_cameras ( ) : return False self . available = True return True