'Initialize the sensor.'

def __init__(self, name, eight, sensor, units):

    super().__init__(eight)
    self._sensor = sensor
    self._mapped_name = NAME_MAP.get(self._sensor, self._sensor)
    self._name = '{}    {}'.format(name, self._mapped_name)
    self._state = None
    self._attr = None
    self._units = units
