'Send arm away command.'

def alarm_arm_away(self, code=None):

    if (not self._validate_code(code, STATE_ALARM_ARMED_AWAY)):
        return
    self._state = STATE_ALARM_ARMED_AWAY
    self._state_ts = dt_util.utcnow()
    self.schedule_update_ha_state()
    if self._pending_time:
        track_point_in_time(self._hass, self.async_update_ha_state, (self._state_ts + self._pending_time))
