@classmethod
def from_api_json(cls, d):
    """
        Create a :any:`senseBoxSensor` from a :any:`dict`.

        Args:
            d (dict): the dictionary to create the :any:`senseBoxSensor` from

        Returns:
            senseBoxSensor : the senseBox sensor
        """
    sensor = cls()
    sensor.update_from_api_json(d)
    return sensor
