'Attempt to arm away without a valid code.'

def test_arm_away_with_invalid_code(self):

    self.assertTrue(setup_component(self.hass, alarm_control_panel.DOMAIN, {'alarm_control_panel': {'platform': 'manual_mqtt', 'name': 'test', 'code': CODE, 'pending_time': 1, 'disarm_after_trigger': False, 'command_topic': 'alarm/command', 'state_topic': 'alarm/state'}}))
    entity_id = 'alarm_control_panel.test'
    self.assertEqual(STATE_ALARM_DISARMED, self.hass.states.get(entity_id).state)
    alarm_control_panel.alarm_arm_away(self.hass, (CODE + '2'))
    self.hass.block_till_done()
    self.assertEqual(STATE_ALARM_DISARMED, self.hass.states.get(entity_id).state)
