def __init__(self, arest, resource, name, sensor_class, pin):
        self.arest = arest
        self._resource = resource
        self._name = name
        self._sensor_class = sensor_class
        self._pin = pin
        self.update()

        if self._pin is not None:
            request = requests.get('{}/mode/{}/i'.format
                                   (self._resource, self._pin), timeout=10)
            if request.status_code is not 200:
                _LOGGER.error("Can't set mode. Is device offline?")
Return the Report class for use by flake8.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/arest.py/ArestBinarySensor.__init__--crossover with--dataset/ETHPy150Open SublimeLinter/SublimeLinter-flake8/linter.py/Flake8.get_report