'Initialize the sensor.'

def __init__(self, data, option_type, currency):

    self.data = data
    self._name = OPTION_TYPES[option_type][0]
    self._unit_of_measurement = OPTION_TYPES[option_type][1]
    self._currency = currency
    self.type = option_type
    self._state = None
