'Initialize a sensor for Ring device.'

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

    super(RingSensor, self).__init__()
    self._sensor_type = sensor_type
    self._data = data
    self._extra = None
    self._icon = 'mdi:{}'.format(SENSOR_TYPES.get(self._sensor_type)[3])
    self._kind = SENSOR_TYPES.get(self._sensor_type)[4]
    self._name = '{0}    {1}'.format(self._data.name, SENSOR_TYPES.get(self._sensor_type)[0])
    self._state = STATE_UNKNOWN
    self._tz = str(hass.config.time_zone)
