'Initialize sensors from Blink camera.'

def __init__(self, name, sensor_type, index, data):

    self._name = ((('blink_' + name) + '_') + SENSOR_TYPES[sensor_type][0])
    self._camera_name = name
    self._type = sensor_type
    self.data = data
    self.index = index
    self._state = None
    self._unit_of_measurement = SENSOR_TYPES[sensor_type][1]
