'Test setting the hold mode away.'

def test_set_hold_mode_away(self):

    climate.set_hold_mode(self.hass, 'away', ENTITY_ECOBEE)
    self.hass.block_till_done()
    state = self.hass.states.get(ENTITY_ECOBEE)
    self.assertEqual('away', state.attributes.get('hold_mode'))
