def __init__(self, bus_handler, i2c_address, logger=None):
        """Init the sensor direction."""
        self._bus = bus_handler
        self._i2c_add = int(i2c_address, 0)
        self._ok = False
        self._logger = logger
def __init__ ( self , bus_handler , i2c_address , logger = None ) : self . _bus = bus_handler self . _i2c_add = int ( i2c_address , 0 ) self . _ok = False self . _logger = logger
Init the sensor direction.