'Initialize a sensor for Ring device.'

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

    super(RingBinarySensor, self).__init__()
    self._sensor_type = sensor_type
    self._data = data
    self._name = '{0}    {1}'.format(self._data.name, SENSOR_TYPES.get(self._sensor_type)[0])
    self._device_class = SENSOR_TYPES.get(self._sensor_type)[2]
    self._state = None
