'Test the setting of the target temperature.'

def test_set_only_target_temp(self):

    state = self.hass.states.get(ENTITY_CLIMATE)
    self.assertEqual(21, state.attributes.get('temperature'))
    climate.set_temperature(self.hass, 30, ENTITY_CLIMATE)
    self.hass.block_till_done()
    state = self.hass.states.get(ENTITY_CLIMATE)
    self.assertEqual(30.0, state.attributes.get('temperature'))
