'Initialize the sensor.'

def __init__(self, values, device_class):

    zwave.ZWaveDeviceEntity.__init__(self, values, DOMAIN)
    self._sensor_type = device_class
    self._state = self.values.primary.data
