(self)
return camera_list
Check for mini cameras.
Check for mini cameras.
Check for mini cameras .
def setup_owls(self):
        """Check for mini cameras."""
        network_list = []
        camera_list = []
        try:
            for owl in self.homescreen["owls"]:
                name = owl["name"]
                network_id = str(owl["network_id"])
                if network_id in self.network_ids:
                    camera_list.append(
                        {network_id: {"name": name, "id": network_id, "type": "mini"}}
                    )
                    continue
                if owl["onboarded"]:
                    network_list.append(str(network_id))
                    self.sync[name] = BlinkOwl(self, name, network_id, owl)
                    self.sync[name].start()
        except KeyError:
            # No sync-less devices found
            pass

        self.network_ids.extend(network_list)
        return camera_list
def setup_owls ( self ) : network_list = [ ] camera_list = [ ] try : for owl in self . homescreen [ "owls" ] : name = owl [ "name" ] network_id = str ( owl [ "network_id" ] ) if network_id in self . network_ids : camera_list . append ( { network_id : { "name" : name , "id" : network_id , "type" : "mini" } } ) continue if owl [ "onboarded" ] : network_list . append ( str ( network_id ) ) self . sync [ name ] = BlinkOwl ( self , name , network_id , owl ) self . sync [ name ] . start ( ) except KeyError : # No sync-less devices found pass self . network_ids . extend ( network_list ) return camera_list