'Create Radarr entity.'

def __init__(self, hass, conf, sensor_type):

    from pytz import timezone
    self.conf = conf
    self.host = conf.get(CONF_HOST)
    self.port = conf.get(CONF_PORT)
    self.urlbase = conf.get(CONF_URLBASE)
    if self.urlbase:
        self.urlbase = '{}/'.format(self.urlbase.strip('/'))
    self.apikey = conf.get(CONF_API_KEY)
    self.included = conf.get(CONF_INCLUDED)
    self.days = int(conf.get(CONF_DAYS))
    self.ssl = ('s' if conf.get(CONF_SSL) else '')
    self._state = None
    self.data = []
    self._tz = timezone(str(hass.config.time_zone))
    self.type = sensor_type
    self._name = SENSOR_TYPES[self.type][0]
    if (self.type == 'diskspace'):
        self._unit = conf.get(CONF_UNIT)
    else:
        self._unit = SENSOR_TYPES[self.type][1]
    self._icon = SENSOR_TYPES[self.type][2]
    self._available = False
