(self, camera_id, **kwargs)
return None
Retrieve camera information.
Retrieve camera information.
Retrieve camera information .
def get_camera_info(self, camera_id, **kwargs):
        """Retrieve camera information."""
        try:
            for doorbell in self.blink.homescreen["doorbells"]:
                if doorbell["name"] == self.name:
                    self.status = doorbell["enabled"]
                    return doorbell
        except (TypeError, KeyError):
            pass
        return None
def get_camera_info ( self , camera_id , * * kwargs ) : try : for doorbell in self . blink . homescreen [ "doorbells" ] : if doorbell [ "name" ] == self . name : self . status = doorbell [ "enabled" ] return doorbell except ( TypeError , KeyError ) : pass return None