(self, name)
return None
Extract lotus information.
Extract lotus information.
Extract lotus information .
def get_lotus_info(self, name):
        """Extract lotus information."""
        try:
            for doorbell in self.blink.homescreen["doorbells"]:
                if doorbell["name"] == name:
                    return doorbell
        except (TypeError, KeyError):
            pass
        return None
def get_lotus_info ( self , name ) : try : for doorbell in self . blink . homescreen [ "doorbells" ] : if doorbell [ "name" ] == name : return doorbell except ( TypeError , KeyError ) : pass return None