'Test the setting of the target humidity.'

def test_set_target_humidity(self):

    state = self.hass.states.get(ENTITY_CLIMATE)
    self.assertEqual(67, state.attributes.get('humidity'))
    climate.set_humidity(self.hass, 64, ENTITY_CLIMATE)
    self.hass.block_till_done()
    state = self.hass.states.get(ENTITY_CLIMATE)
    self.assertEqual(64.0, state.attributes.get('humidity'))
