'Test that there is nothing done if not enough values available.'

def test_not_enough_sensor_value(self):

    config = {'sensor': {'platform': 'min_max', 'name': 'test_max', 'type': 'max', 'entity_ids': ['sensor.test_1', 'sensor.test_2', 'sensor.test_3']}}
    assert setup_component(self.hass, 'sensor', config)
    entity_ids = config['sensor']['entity_ids']
    self.hass.states.set(entity_ids[0], STATE_UNKNOWN)
    self.hass.block_till_done()
    state = self.hass.states.get('sensor.test_max')
    self.assertEqual(STATE_UNKNOWN, state.state)
    self.hass.states.set(entity_ids[1], self.values[1])
    self.hass.block_till_done()
    state = self.hass.states.get('sensor.test_max')
    self.assertNotEqual(STATE_UNKNOWN, state.state)
    self.hass.states.set(entity_ids[2], STATE_UNKNOWN)
    self.hass.block_till_done()
    state = self.hass.states.get('sensor.test_max')
    self.assertNotEqual(STATE_UNKNOWN, state.state)
    self.hass.states.set(entity_ids[1], STATE_UNKNOWN)
    self.hass.block_till_done()
    state = self.hass.states.get('sensor.test_max')
    self.assertEqual(STATE_UNKNOWN, state.state)
