(self, blink, name, network_id, response)
Initialize a sync-less object.
Initialize a sync-less object.
Initialize a sync - less object .
def __init__(self, blink, name, network_id, response):
        """Initialize a sync-less object."""
        cameras = [{"name": name, "id": response["id"]}]
        super().__init__(blink, name, network_id, cameras)
        self.sync_id = response["id"]
        self.serial = response["serial"]
        self.status = response["enabled"]
        if not self.serial:
            self.serial = f"{network_id}-{self.sync_id}"
def __init__ ( self , blink , name , network_id , response ) : cameras = [ { "name" : name , "id" : response [ "id" ] } ] super ( ) . __init__ ( blink , name , network_id , cameras ) self . sync_id = response [ "id" ] self . serial = response [ "serial" ] self . status = response [ "enabled" ] if not self . serial : self . serial = f"{network_id}-{self.sync_id}"