'Initialize the sensor.'

def __init__(self, hass, option_type):

    self._name = OPTION_TYPES[option_type]
    self.type = option_type
    self._state = None
    self.hass = hass
    self._update_internal_state(dt_util.utcnow())
