'Test setting the target temperature without required attribute.'

def test_set_only_target_temp_bad_attr(self):

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